mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-08-20 15:01:16 +00:00
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:
parent
c85e396ce5
commit
4913acc05e
@ -110,7 +110,8 @@ fn create_app<'a, 'b>(
|
|||||||
\"size=<guest_memory_size>,mergeable=on|off,shared=on|off,hugepages=on|off,\
|
\"size=<guest_memory_size>,mergeable=on|off,shared=on|off,hugepages=on|off,\
|
||||||
hotplug_method=acpi|virtio-mem,\
|
hotplug_method=acpi|virtio-mem,\
|
||||||
hotplug_size=<hotpluggable_memory_size>,\
|
hotplug_size=<hotpluggable_memory_size>,\
|
||||||
hotplugged_size=<hotplugged_memory_size>\"",
|
hotplugged_size=<hotplugged_memory_size>,\
|
||||||
|
balloon=on|off\"",
|
||||||
)
|
)
|
||||||
.default_value(&default_memory)
|
.default_value(&default_memory)
|
||||||
.group("vm-config"),
|
.group("vm-config"),
|
||||||
|
Loading…
Reference in New Issue
Block a user