aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel P. Berrange <dan@berrange.com>2010-07-15 14:02:42 +0100
committerDaniel P. Berrange <berrange@redhat.com>2010-07-21 11:33:11 +0100
commitb2f1863533774a39b3cd5642c183ec842a897c9b (patch)
tree546d50d304b8112b520602b66e0a8de806dd344e /tests/qemuxml2argvdata/qemuxml2argv-disk-drive-error-policy-enospace.xml
parentRearrange VGA/IDE controller address reservation (diff)
downloadlibvirt-b2f1863533774a39b3cd5642c183ec842a897c9b.tar.gz
libvirt-b2f1863533774a39b3cd5642c183ec842a897c9b.tar.bz2
libvirt-b2f1863533774a39b3cd5642c183ec842a897c9b.zip
Explicitly represent balloon device in XML and handle PCI address
To allow compatibility with older QEMU PCI device slot assignment it is necessary to explicitly track the balloon device in the XML. This introduces a new device <memballoon model='virtio|xen'/> It can also have a PCI address, auto-assigned if necessary. The memballoon will be automatically added to all Xen and QEMU guests by default. * docs/schemas/domain.rng: Add <memballoon> element * src/conf/domain_conf.c, src/conf/domain_conf.h: parsing and formatting for memballoon device. Always add a memory balloon device to Xen/QEMU if none exists in XML * src/libvirt_private.syms: Export memballoon model APIs * src/qemu/qemu_conf.c, src/qemu/qemu_conf.h: Honour the PCI device address in memory balloon device * tests/*: Update to test new functionality
Diffstat (limited to 'tests/qemuxml2argvdata/qemuxml2argv-disk-drive-error-policy-enospace.xml')
-rw-r--r--tests/qemuxml2argvdata/qemuxml2argv-disk-drive-error-policy-enospace.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-disk-drive-error-policy-enospace.xml b/tests/qemuxml2argvdata/qemuxml2argv-disk-drive-error-policy-enospace.xml
index 8fe64d4bd..b3e6de994 100644
--- a/tests/qemuxml2argvdata/qemuxml2argv-disk-drive-error-policy-enospace.xml
+++ b/tests/qemuxml2argvdata/qemuxml2argv-disk-drive-error-policy-enospace.xml
@@ -28,5 +28,6 @@
<address type='drive' controller='0' bus='1' unit='0'/>
</disk>
<controller type='ide' index='0'/>
+ <memballoon model='virtio'/>
</devices>
</domain>