summaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2009-06-10 16:34:08 -0300
committerAnthony Liguori <aliguori@us.ibm.com>2009-06-13 19:17:28 -0500
commitdf97b92060e9f754a5dcaa81a762ea708aa087c7 (patch)
treea930d2b183987c520e7732eee33ff09d9d46b2e3 /vl.c
parent6693665ace00864640c1c9f5020ea125e0b997c2 (diff)
downloadqemu-df97b92060e9f754a5dcaa81a762ea708aa087c7.tar.gz
qemu-df97b92060e9f754a5dcaa81a762ea708aa087c7.tar.bz2
qemu-df97b92060e9f754a5dcaa81a762ea708aa087c7.zip
Add -no-virtio-balloon command-line option
This new option may be used to disable the virtio-balloon device. Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/vl.c b/vl.c
index 40fc3a432c..3d213f395d 100644
--- a/vl.c
+++ b/vl.c
@@ -244,6 +244,7 @@ int smp_cpus = 1;
const char *vnc_display;
int acpi_enabled = 1;
int no_hpet = 0;
+int no_virtio_balloon = 0;
int fd_bootchk = 1;
int no_reboot = 0;
int no_shutdown = 0;
@@ -5551,6 +5552,9 @@ int main(int argc, char **argv, char **envp)
case QEMU_OPTION_no_hpet:
no_hpet = 1;
break;
+ case QEMU_OPTION_no_virtio_balloon:
+ no_virtio_balloon = 1;
+ break;
#endif
case QEMU_OPTION_no_reboot:
no_reboot = 1;