diff options
author | Daniel P. Berrange <dan@berrange.com> | 2010-07-15 14:02:42 +0100 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2010-07-21 11:33:11 +0100 |
commit | b2f1863533774a39b3cd5642c183ec842a897c9b (patch) | |
tree | 546d50d304b8112b520602b66e0a8de806dd344e /tests/qemuxml2argvdata/qemuxml2argv-net-user.xml | |
parent | Rearrange VGA/IDE controller address reservation (diff) | |
download | libvirt-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-net-user.xml')
-rw-r--r-- | tests/qemuxml2argvdata/qemuxml2argv-net-user.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/qemuxml2argvdata/qemuxml2argv-net-user.xml b/tests/qemuxml2argvdata/qemuxml2argv-net-user.xml index 525593dc8..ffc4a2ceb 100644 --- a/tests/qemuxml2argvdata/qemuxml2argv-net-user.xml +++ b/tests/qemuxml2argvdata/qemuxml2argv-net-user.xml @@ -23,5 +23,6 @@ <interface type='user'> <mac address='00:11:22:33:44:55'/> </interface> + <memballoon model='virtio'/> </devices> </domain> |