diff options
author | Daniel P. Berrange <dan@berrange.com> | 2010-12-17 16:41:51 +0000 |
---|---|---|
committer | Daniel P. Berrange <dan@berrange.com> | 2010-12-17 16:41:51 +0000 |
commit | 1d16f05674f4af539dc6d8aff3610189c9170794 (patch) | |
tree | b373b92c3afac1c0f9b94d04af009f566993b60f /tests/testutilsqemu.c | |
parent | Move QEMU hotplug helper code out of the QEMU driver (diff) | |
download | libvirt-1d16f05674f4af539dc6d8aff3610189c9170794.tar.gz libvirt-1d16f05674f4af539dc6d8aff3610189c9170794.tar.bz2 libvirt-1d16f05674f4af539dc6d8aff3610189c9170794.zip |
Update QEMU test cases for new file locations & API renames
* qemuargv2xmltest.c, qemuhelptest.c,
qemuxml2argvtest.c, testutilsqemu.c: Update includes and
cope with API renames
Diffstat (limited to 'tests/testutilsqemu.c')
-rw-r--r-- | tests/testutilsqemu.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/testutilsqemu.c b/tests/testutilsqemu.c index 72fc8aa99..bfac30728 100644 --- a/tests/testutilsqemu.c +++ b/tests/testutilsqemu.c @@ -8,6 +8,7 @@ # include "memory.h" # include "cpu_conf.h" # include "qemu/qemu_driver.h" +# include "qemu/qemu_domain.h" static virCapsGuestMachinePtr *testQemuAllocMachines(int *nmachines) { @@ -102,10 +103,7 @@ virCapsPtr testQemuCapsInit(void) { (machines = testQemuAllocMachines(&nmachines)) == NULL) goto cleanup; - caps->ns.parse = qemuDomainDefNamespaceParse; - caps->ns.free = qemuDomainDefNamespaceFree; - caps->ns.format = qemuDomainDefNamespaceFormatXML; - caps->ns.href = qemuDomainDefNamespaceHref; + qemuDomainSetNamespaceHooks(caps); if ((guest = virCapabilitiesAddGuest(caps, "hvm", "i686", 32, "/usr/bin/qemu", NULL, |