aboutsummaryrefslogtreecommitdiff
path: root/hw
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 /hw
parent6693665ace00864640c1c9f5020ea125e0b997c2 (diff)
downloadqemu-df97b92060e9f754a5dcaa81a762ea708aa087c7.zip
qemu-df97b92060e9f754a5dcaa81a762ea708aa087c7.tar.gz
qemu-df97b92060e9f754a5dcaa81a762ea708aa087c7.tar.bz2
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 'hw')
-rw-r--r--hw/pc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pc.c b/hw/pc.c
index 0934778..aa92576 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -1152,7 +1152,7 @@ static void pc_init1(ram_addr_t ram_size,
}
/* Add virtio balloon device */
- if (pci_enabled) {
+ if (pci_enabled && !no_virtio_balloon) {
pci_create_simple(pci_bus, -1, "virtio-balloon-pci");
}