libvirt/tests
Mark McLoughlin 38fd207e53 Add virCapsGuestMachine structure
A subsequent commit will add a "canonical" field to this structure,
this patch basically just prepares the way for that.

The new type is added, along with virCapabilitiesAlloc/FreeMachines()
helpers and a whole bunch of code to make the transition.

One quirk is that virCapabilitiesAddGuestDomain() and
virCapabilitiesAddGuest() take ownership of the machine list rather
than duping it. This makes sense to avoid needless copying.

* src/capabilities.h: add the virCapsGuestMachine struct and use it
  in virCapsGuestDomainInfo, add prototypes for new functions and
  update the AddGuest() prototypes

* src/capabilities.c: add code for allocating and freeing the new
  type, change the machines parameter to AddGuest() etc.

* src/libvirt_private.syms: export the new helpers

* src/qemu_conf.c: update all the machine type code to use the new
  struct

* src/xen_internal.c: ditto

* tests/testutilsqemu.c: ditto
2009-07-27 15:17:55 +01:00
..
capabilityschemadata remove all trailing blank lines 2009-07-16 15:06:42 +02:00
confdata remove all trailing blank lines 2009-07-16 15:06:42 +02:00
domainschemadata
interfaceschemadata Add netcf XML schemas and test data 2009-07-15 20:16:36 +02:00
nodedevschemadata remove all trailing blank lines 2009-07-16 15:06:42 +02:00
nodeinfodata remove all trailing blank lines 2009-07-16 15:06:42 +02:00
qemuhelpdata Add qemu help string parsing tests 2009-06-11 14:17:42 +00:00
qemuxml2argvdata Assign names to qemu NICs and network backends 2009-07-22 11:34:06 +01:00
sexpr2xmldata remove all trailing blank lines 2009-07-16 15:06:42 +02:00
storagepoolschemadata remove all trailing blank lines 2009-07-16 15:06:42 +02:00
storagevolschemadata remove all trailing blank lines 2009-07-16 15:06:42 +02:00
xencapsdata remove all trailing blank lines 2009-07-16 15:06:42 +02:00
xmconfigdata remove all .cvsignore files 2009-07-08 16:17:51 +02:00
xml2sexprdata remove all trailing blank lines 2009-07-16 15:06:42 +02:00
.gitignore netcf XML validation and input and output tests 2009-07-15 20:16:36 +02:00
.valgrind.supp Fix bogus valgrind memory leak warnings in test suite 2009-01-28 21:53:48 +00:00
capabilityschematest
conftest.c extend the configuration parser for VMX syntax 2009-06-19 12:34:30 +00:00
cpuset
daemon-conf
define-dev-segfault
domainschematest
eventtest.c
int-overflow
interfaceschematest netcf XML validation and input and output tests 2009-07-15 20:16:36 +02:00
interfacexml2xmltest.c netcf XML validation and input and output tests 2009-07-15 20:16:36 +02:00
libvirtd-fail
libvirtd-pool
Makefile.am avoid a make distcheck failure: distribute tests/interfaceschemadata/ 2009-07-22 16:24:17 +02:00
networkschematest
nodedevschematest
nodedevxml2xmltest.c NPIV implementation for node device create and destroy 2009-06-02 15:12:53 +00:00
nodeinfotest.c remove all trailing blank lines 2009-07-16 15:06:42 +02:00
object-locking.ml remove all trailing blank lines 2009-07-16 15:06:42 +02:00
oomtrace.pl
qemuargv2xmltest.c
qemuhelptest.c Add checks for some NIC hotplug related features added in qemu-0.10.0 2009-07-22 11:34:06 +01:00
qemuxml2argvtest.c Assign names to qemu NICs and network backends 2009-07-22 11:34:06 +01:00
qemuxml2xmltest.c Support <video> element for QEMU guests 2009-07-08 13:40:32 +01:00
qparamtest.c
read-bufsiz
read-non-seekable
reconnect.c remove all trailing blank lines 2009-07-16 15:06:42 +02:00
seclabeltest.c
sexpr2xmltest.c remove all trailing blank lines 2009-07-16 15:06:42 +02:00
start
statstest.c
storagepoolschematest
storagevolschematest
test_conf.sh
test-lib.sh
testutils.c Make it easier to debug tests running programs 2009-07-08 13:40:32 +01:00
testutils.h
testutilsqemu.c Add virCapsGuestMachine structure 2009-07-27 15:17:55 +01:00
testutilsqemu.h remove all trailing blank lines 2009-07-16 15:06:42 +02:00
testutilsxen.c
testutilsxen.h remove all trailing blank lines 2009-07-16 15:06:42 +02:00
undefine
vcpupin
virsh-all
virsh-synopsis tests: new test: virsh-synopsis 2008-11-24 07:13:29 +00:00
virshtest.c
xencapstest.c remove all trailing blank lines 2009-07-16 15:06:42 +02:00
xmconfigtest.c remove all trailing blank lines 2009-07-16 15:06:42 +02:00
xml2sexprtest.c remove all trailing blank lines 2009-07-16 15:06:42 +02:00