libvirt/tests
Daniel P. Berrange 0943048ad0 Remove direct storage of hostnet_name & vlan
The current way of assigning names to the host network backend and
NIC device in QEMU was over complicated, by varying naming scheme
based on the NIC model and backend type. This simplifies the naming
to simply be 'net0' and 'hostnet0', allowing code to easily determine
the host network name and vlan based off the primary device alias
name 'net0'. This in turn allows removal of alot of QEMU specific
code from the XML parser, and makes it easier to assign new unique
names for NICs that are hotplugged

* src/conf/domain_conf.c, src/conf/domain_conf.h: Remove hostnet_name
  and vlan fields from virNetworkDefPtr
* src/qemu/qemu_conf.c, src/qemu/qemu_conf.h, src/qemu/qemu_driver.c:
  Use a single network alias naming scheme regardless of NIC type
  or backend type. Determine VLANs from the alias name.
* tests/qemuxml2argvdata/qemuxml2argv-net-eth-names.args,
  tests/qemuxml2argvdata/qemuxml2argv-net-virtio-device.args,
  tests/qemuxml2argvdata/qemuxml2argv-net-virtio-netdev.args: Update
  for new simpler naming scheme
2010-02-02 16:31:47 +00:00
..
capabilityschemadata Add a more featureful qemu capabilities test data 2009-09-10 12:25:42 +01:00
confdata remove all trailing blank lines 2009-07-16 15:06:42 +02:00
domainschemadata Support for container related domain XML extensions 2008-08-01 13:31:37 +00:00
interfaceschemadata Update interface.rng and xml test files to match netcf 0.1.5 2010-01-19 21:13:03 +01:00
networkxml2xmlin Add support for an external TFTP boot server 2009-10-28 15:57:49 +01:00
networkxml2xmlout Add support for an external TFTP boot server 2009-10-28 15:57:49 +01:00
nodedevschemadata nodedev: Add removable storage 'media_label' prop 2009-12-14 14:58:23 +01:00
nodeinfodata remove all trailing blank lines 2009-07-16 15:06:42 +02:00
qemuhelpdata Probe for -device and use -nodefaults 2010-01-18 13:39:14 +00:00
qemuxml2argvdata Remove direct storage of hostnet_name & vlan 2010-02-02 16:31:47 +00:00
sexpr2xmldata Tests for interface type/model configuration 2009-12-04 17:01:34 +01:00
storagepoolxml2xmlin tests: Add XML 2 XML tests for storage pools. 2009-10-16 10:21:47 -04:00
storagepoolxml2xmlout tests: Add XML 2 XML tests for storage pools. 2009-10-16 10:21:47 -04:00
storagevolxml2xmlin tests: Add storage volume XML 2 XML tests. 2009-10-16 10:52:27 -04:00
storagevolxml2xmlout tests: Add storage volume XML 2 XML tests. 2009-10-16 10:52:27 -04:00
vmx2xmldata esx: Add VNC support 2010-01-18 01:44:20 +01:00
xencapsdata remove all trailing blank lines 2009-07-16 15:06:42 +02:00
xmconfigdata Tests for interface type/model configuration 2009-12-04 17:01:34 +01:00
xml2sexprdata Remove restriction on duplicated sound devices in parser 2010-01-18 12:44:50 +00:00
xml2vmxdata esx: Add VNC support 2010-01-18 01:44:20 +01:00
.gitignore tests: Add storage volume XML 2 XML tests. 2009-10-16 10:52:27 -04:00
.valgrind.supp Supress annoying libcap-ng errors from valgrind 2009-11-26 12:07:17 +00:00
capabilityschematest Make test suite output less verbose 2010-01-15 16:28:05 +00:00
conftest.c avoid calling exit with a constant; use EXIT_* instead 2009-12-15 17:46:04 +01:00
cpuset Various error reporting fixes 2009-11-03 16:46:54 -05:00
daemon-conf Make test suite output less verbose 2010-01-15 16:28:05 +00:00
define-dev-segfault Fix up "make check" 2009-10-07 12:18:13 +02:00
domainschematest Make test suite output less verbose 2010-01-15 16:28:05 +00:00
esxutilstest.c esx: Stop passing around virConnectPtr for error reporting 2010-01-26 01:19:23 +01:00
eventtest.c Make test suite output less verbose 2010-01-15 16:28:05 +00:00
int-overflow Fix up "make check" 2009-10-07 12:18:13 +02:00
interfaceschematest Make test suite output less verbose 2010-01-15 16:28:05 +00:00
interfacexml2xmltest.c Update interface.rng and xml test files to match netcf 0.1.5 2010-01-19 21:13:03 +01:00
libvirtd-fail Fix up "make check" 2009-10-07 12:18:13 +02:00
libvirtd-pool Fix up "make check" 2009-10-07 12:18:13 +02:00
Makefile.am fix "make distcheck" failure 2010-01-21 15:24:15 +01:00
networkschematest Make test suite output less verbose 2010-01-15 16:28:05 +00:00
networkxml2xmltest.c Add support for an external TFTP boot server 2009-10-28 15:57:49 +01:00
nodedevschematest Make test suite output less verbose 2010-01-15 16:28:05 +00:00
nodedevxml2xmltest.c nodedev: Add removable storage 'media_label' prop 2009-12-14 14:58:23 +01:00
nodeinfotest.c avoid calling exit with a constant; use EXIT_* instead 2009-12-15 17:46:04 +01:00
object-locking.ml Fix up a few typos in the tree. 2009-09-30 14:05:24 +02:00
oomtrace.pl Generic test suite helpers for OOM testing 2008-05-29 15:21:45 +00:00
qemuargv2xmltest.c Rewrite way QEMU PCI addresses are allocated 2010-02-02 16:31:47 +00:00
qemuhelptest.c Implement CPU topology support for QEMU driver 2010-01-19 11:40:09 +01:00
qemuxml2argvtest.c Remove use of -netdev arg with QEMU 2010-02-02 16:31:47 +00:00
qemuxml2xmltest.c Rewrite way QEMU PCI addresses are allocated 2010-02-02 16:31:47 +00:00
qparamtest.c build: enable redundant-const check 2009-02-03 13:08:59 +00:00
read-bufsiz qemu: Break out function to check if we can create/define/restore 2009-11-06 10:12:32 -05:00
read-non-seekable Fix up "make check" 2009-10-07 12:18:13 +02:00
reconnect.c avoid calling exit with a constant; use EXIT_* instead 2009-12-15 17:46:04 +01:00
schematestutils.sh Make test suite output less verbose 2010-01-15 16:28:05 +00:00
secaatest.c sVirt AppArmor security driver 2009-10-08 16:34:22 +02:00
seclabeltest.c Move security drivers to src/security/ 2009-09-21 14:41:44 +01:00
sexpr2xmltest.c Tests for interface type/model configuration 2009-12-04 17:01:34 +01:00
start Fix up "make check" 2009-10-07 12:18:13 +02:00
statstest.c Make test suite output less verbose 2010-01-15 16:28:05 +00:00
storagepoolschematest Make test suite output less verbose 2010-01-15 16:28:05 +00:00
storagepoolxml2xmltest.c tests: Add XML 2 XML tests for storage pools. 2009-10-16 10:21:47 -04:00
storagevolschematest Make test suite output less verbose 2010-01-15 16:28:05 +00:00
storagevolxml2xmltest.c tests: Add storage volume XML 2 XML tests. 2009-10-16 10:52:27 -04:00
test_conf.sh Make test suite output less verbose 2010-01-15 16:28:05 +00:00
test-lib.sh Make test suite output less verbose 2010-01-15 16:28:05 +00:00
testutils.c Make test suite output less verbose 2010-01-15 16:28:05 +00:00
testutils.h Make test suite output less verbose 2010-01-15 16:28:05 +00:00
testutilsqemu.c Make test suite output less verbose 2010-01-15 16:28:05 +00:00
testutilsqemu.h remove all trailing blank lines 2009-07-16 15:06:42 +02:00
testutilsxen.c Fix crashes in Xen capabilities code 2009-07-27 16:45:01 +01:00
testutilsxen.h remove all trailing blank lines 2009-07-16 15:06:42 +02:00
undefine Fix up "make check" 2009-10-07 12:18:13 +02:00
vcpupin Fix up "make check" 2009-10-07 12:18:13 +02:00
virsh-all Make test suite output less verbose 2010-01-15 16:28:05 +00:00
virsh-synopsis Fix up "make check" 2009-10-07 12:18:13 +02:00
virshtest.c avoid calling exit with a constant; use EXIT_* instead 2009-12-15 17:46:04 +01:00
virt-aa-helper-test Fix virt-aa-helper when host and os.type arch differ 2009-11-13 11:04:23 +01:00
vmx2xmltest.c esx: Stop passing around virConnectPtr for error reporting 2010-01-26 01:19:23 +01:00
xencapstest.c Move xen driver code into src/xen/ directory 2009-09-21 14:41:42 +01:00
xmconfigtest.c Tests for interface type/model configuration 2009-12-04 17:01:34 +01:00
xml2sexprtest.c Tests for interface type/model configuration 2009-12-04 17:01:34 +01:00
xml2vmxtest.c esx: Stop passing around virConnectPtr for error reporting 2010-01-26 01:19:23 +01:00