libvirt/tests
Daniel P. Berrange f310b25341 Add '-nodefconfig' command line arg to QEMU
We already use the '-nodefaults' command line arg with QEMU to stop
it adding any default devices to guests. Unfortunately, QEMU will
load global config files from /etc/qemu that may also add default
devices. These aren't blocked by '-nodefaults', so we need to also
add the '-nodefconfig' arg to prevent that.

Unfortunately these global config files are also used to define
custom CPU models. So in blocking global hardware device addition
we also block definitions of new CPU models. Libvirt doesn't know
about these custom CPU models though, so it would never make use
of them anyway. Thus blocking them via -nodefconfig isn't a show
stopping problem. We would need to expand libvirt's own CPU model
XML database to support these instead.

* src/qemu/qemu_conf.c: Add '-nodefconfig' if available
* tests/qemuxml2argvdata/: Add '-nodefconfig' to all data files which
  have '-nodefaults' present
2010-06-23 14:08:05 +01:00
..
capabilityschemadata Add a more featureful qemu capabilities test data 2009-09-10 12:25:42 +01:00
confdata maint: simplify some ignore files 2010-06-15 07:31:10 -06:00
domainschemadata vepa: parsing for 802.1Qb{g|h} XML 2010-05-25 17:37:00 -04:00
domainsnapshotxml2xmlin Domain snapshot RNG and tests. 2010-05-20 13:50:03 -04:00
domainsnapshotxml2xmlout Domain snapshot RNG and tests. 2010-05-20 13:50:03 -04: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 Get thread and socket information in virsh nodeinfo. 2010-03-08 09:26:04 -05:00
nwfilterxml2xmlin nwfilter: add XML attribute to control iptables state match 2010-06-17 14:12:34 -04:00
nwfilterxml2xmlout nwfilter: add XML attribute to control iptables state match 2010-06-17 14:12:34 -04:00
qemuhelpdata qemu_conf: fix flag value 2010-05-17 16:28:02 -06:00
qemuxml2argvdata Add '-nodefconfig' command line arg to QEMU 2010-06-23 14:08:05 +01:00
sexpr2xmldata maint: simplify some ignore files 2010-06-15 07:31:10 -06:00
storagepoolxml2xmlin Add multiIQN tests 2010-06-08 13:14:26 -04:00
storagepoolxml2xmlout Add multiIQN tests 2010-06-08 13:14:26 -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: Update case insensitive .vmx tests 2010-06-16 23:06:12 +02:00
xencapsdata maint: simplify some ignore files 2010-06-15 07:31:10 -06:00
xmconfigdata maint: simplify some ignore files 2010-06-15 07:31:10 -06:00
xml2sexprdata maint: simplify some ignore files 2010-06-15 07:31:10 -06:00
xml2vmxdata esx: Add support for the VMXNET 2 (Enhanced) NIC model 2010-04-20 20:58:24 +02:00
.gitignore Add virt-aa-helper and secaatest to .gitignore 2010-03-31 13:36:54 +02: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 tests: use GPLv2+, not GPLv3 2010-05-12 08:41:10 +02:00
daemon-conf tests: avoid new failure of the daemon-conf test 2010-05-25 15:53:19 -06: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
domainsnapshotschematest Domain snapshot RNG and tests. 2010-05-20 13:50:03 -04:00
esxutilstest.c esx: Add domain snapshot support 2010-04-08 21:54:43 +02: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 Remove virConnectPtr from interface XML APIs 2010-02-10 13:32:48 +00: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 build: Distribute the whole tests/qemuhelpdata directory 2010-05-21 20:08:57 +02:00
networkschematest Make test suite output less verbose 2010-01-15 16:28:05 +00:00
networkxml2xmltest.c Remove virConnectPtr from network XML APis 2010-02-10 13:31:28 +00:00
nodedevschematest Make test suite output less verbose 2010-01-15 16:28:05 +00:00
nodedevxml2xmltest.c Remove virConnectPtr from all node device XML APIs 2010-02-10 13:32:01 +00:00
nodeinfotest.c tests: do not ignore virInitialize failure 2010-05-18 19:23:32 +02:00
nwfilterschematest nwfilter: Add filter schema for nwfilter XML, extend domain XML schema 2010-04-06 11:09:46 -04:00
nwfilterxml2xmltest.c nwfilter: add support for RAPR protocol 2010-04-27 07:26:12 -04:00
object-locking.ml build: import latest gnulib 2010-04-02 10:18:55 -06:00
oomtrace.pl Generic test suite helpers for OOM testing 2008-05-29 15:21:45 +00:00
qemuargv2xmltest.c Add enospace option to qemu disk error policy 2010-04-09 03:35:47 -04:00
qemuhelptest.c qemu_conf: fix flag value 2010-05-17 16:28:02 -06:00
qemuxml2argvtest.c Fix test breakage from virtio serial changes 2010-06-08 16:31:50 +01:00
qemuxml2xmltest.c Fix indentation for storage conf XML 2010-04-27 12:01:32 +02:00
qparamtest.c build: enable redundant-const check 2009-02-03 13:08:59 +00:00
read-bufsiz tests: use GPLv2+, not GPLv3 2010-05-12 08:41:10 +02:00
read-non-seekable tests: use GPLv2+, not GPLv3 2010-05-12 08:41:10 +02:00
reconnect.c avoid calling exit with a constant; use EXIT_* instead 2009-12-15 17:46:04 +01:00
schematestutils.sh schematestutils.sh: improve shell portability: avoid "echo -e" 2010-04-14 17:34:12 +02: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 Remove virConnectPtr from all domain XML parsing/formatting APIs 2010-02-10 11:49:23 +00:00
start tests: use GPLv2+, not GPLv3 2010-05-12 08:41:10 +02:00
statstest.c build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
storagepoolschematest Make test suite output less verbose 2010-01-15 16:28:05 +00:00
storagepoolxml2xmltest.c Add multiIQN tests 2010-06-08 13:14:26 -04:00
storagevolschematest Make test suite output less verbose 2010-01-15 16:28:05 +00:00
storagevolxml2xmltest.c Remove virConnectPtr from storage APIs & driver 2010-02-10 13:32:11 +00:00
test_conf.sh Make test suite output less verbose 2010-01-15 16:28:05 +00:00
test-lib.sh build: don't use "test cond1 -o cond2": it's not portable 2010-03-25 09:28:24 +01:00
testutils.c tests: Don't add extra padding if counter mod 40 is 0 2010-03-24 01:07:57 +01:00
testutils.h build: consistently indent preprocessor directives 2010-03-09 19:22:28 +01:00
testutilsqemu.c testutilsqemu: avoid uninitialized variable 2010-04-22 09:00:30 -06: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 tests: use GPLv2+, not GPLv3 2010-05-12 08:41:10 +02:00
vcpupin tests: use GPLv2+, not GPLv3 2010-05-12 08:41:10 +02:00
virsh-all tests: use GPLv2+, not GPLv3 2010-05-12 08:41:10 +02:00
virsh-schedinfo tests: use GPLv2+, not GPLv3 2010-05-12 08:41:10 +02:00
virsh-synopsis tests: use GPLv2+, not GPLv3 2010-05-12 08:41:10 +02:00
virshtest.c virsh: ensure persistence and autostart are shown for dominfo and pool-info 2010-06-17 11:57:54 -06:00
virt-aa-helper-test virt-aa-helper-test: avoid non-portable echo -n 2010-04-14 11:17:18 -06:00
vmx2xmltest.c esx: Fix virtualHW.version generation 2010-04-21 00:37:46 +02:00
xencapstest.c Move xen driver code into src/xen/ directory 2009-09-21 14:41:42 +01:00
xmconfigtest.c maint: make Red Hat copyright notices consistent 2010-03-18 16:48:05 +01:00
xml2sexprtest.c Remove virConnectPtr from all domain XML parsing/formatting APIs 2010-02-10 11:49:23 +00:00
xml2vmxtest.c esx: Fix virtualHW.version generation 2010-04-21 00:37:46 +02:00