diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2009-06-10 16:34:08 -0300 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-06-13 19:17:28 -0500 |
commit | df97b92060e9f754a5dcaa81a762ea708aa087c7 (patch) | |
tree | a930d2b183987c520e7732eee33ff09d9d46b2e3 /hw | |
parent | 6693665ace00864640c1c9f5020ea125e0b997c2 (diff) |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"); } |