vmm: Remove balloon options from --memory parameter

The standalone `--balloon` parameter being fully functional at this
point, we can get rid of the balloon options from the --memory
parameter.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
Sebastien Boeuf
2020-10-14 14:00:05 +02:00
parent 3594685279
commit f4e391922f
4 changed files with 5 additions and 46 deletions

View File

@@ -111,8 +111,7 @@ fn create_app<'a, 'b>(
\"size=<guest_memory_size>,mergeable=on|off,shared=on|off,hugepages=on|off,\
hotplug_method=acpi|virtio-mem,\
hotplug_size=<hotpluggable_memory_size>,\
hotplugged_size=<hotplugged_memory_size>,\
balloon=on|off\"",
hotplugged_size=<hotplugged_memory_size>\"",
)
.default_value(&default_memory)
.group("vm-config"),
@@ -572,8 +571,6 @@ mod unit_tests {
hotplugged_size: None,
shared: false,
hugepages: false,
balloon: false,
balloon_size: 0,
zones: None,
},
kernel: Some(KernelConfig {