vmm: Add mergeable=on|off option to --memory flag

In order to let the user indicate if the guest RAM pages should be
marked as mergeable or not, a new option is being introduced.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
Sebastien Boeuf
2019-11-19 15:40:57 -08:00
committed by Rob Bradford
parent 0213177027
commit 880f62bab8
3 changed files with 24 additions and 14 deletions

View File

@@ -101,7 +101,7 @@ fn main() {
.long("memory")
.help(
"Memory parameters \"size=<guest_memory_size>,\
file=<backing_file_path>\"",
file=<backing_file_path>,mergeable=on|off\"",
)
.default_value(&default_memory)
.group("vm-config"),