vmm: Add 'balloon' to memory parameters

Add the option 'balloon' to --memory.

Signed-off-by: Hui Zhu <teawater@antfin.com>
This commit is contained in:
Hui Zhu 2020-09-25 21:32:15 +08:00 committed by Sebastien Boeuf
parent c85e396ce5
commit 4913acc05e

View File

@ -110,7 +110,8 @@ 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>\"",
hotplugged_size=<hotplugged_memory_size>,\
balloon=on|off\"",
)
.default_value(&default_memory)
.group("vm-config"),