diff options
author | Markus Armbruster <armbru@redhat.com> | 2009-06-26 19:15:14 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-06-29 14:18:08 -0500 |
commit | 7d4c3d535c6f33e1d6d158aaf2108a27b45d743d (patch) | |
tree | f7d84eeecedb731b67f50ffe319c0d5efc67434d /qemu-options.hx | |
parent | 74efd61a75f1a400aa480ad08231ba31ccdec895 (diff) |
Replace -no-virtio-balloon by -balloon
We want to do (at least) two things to the virtio-balloon device:
suppress it, and control its PCI address. Option -no-virtio-balloon
lets us do only the former. To get the latter, replace
-no-virtio-balloon with
-balloon none disable balloon device
-balloon virtio[,addr=str]
enable virtio balloon device (default)
Syntax suggested by Anthony Liguori.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qemu-options.hx')
-rw-r--r-- | qemu-options.hx | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/qemu-options.hx b/qemu-options.hx index dc54115e52..a94f9d38aa 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -684,12 +684,17 @@ Disable HPET support. ETEXI #ifdef TARGET_I386 -DEF("no-virtio-balloon", 0, QEMU_OPTION_no_virtio_balloon, - "-no-virtio-balloon disable virtio balloon device\n") +DEF("balloon", HAS_ARG, QEMU_OPTION_balloon, + "-balloon none disable balloon device\n" + "-balloon virtio[,addr=str]\n" + " enable virtio balloon device (default)\n") #endif STEXI -@item -no-virtio-balloon -Disable virtio-balloon device. +@item -balloon none +Disable balloon device. +@item -balloon virtio[,addr=@var{addr}] +Enable virtio balloon device (default), optionally with PCI address +@var{addr}. ETEXI #ifdef TARGET_I386 |