libvirt/tests
Daniel P. Berrange e7c78b0a94 Support QEMU's virtual FAT block device driver
Introduce a new type="dir"  mode for <disks> that allows use of
QEMU's  virtual FAT block device driver. eg

    <disk type='dir' device='floppy'>
      <source dir='/tmp/test'/>
      <target dev='fda' bus='fdc'/>
      <readonly/>
    </disk>

gets turned into

  -drive file=fat:floppy:/tmp/test,if=floppy,index=0

Only read-only disks are supported with virtual FAT mode

* src/conf/domain_conf.c, src/conf/domain_conf.h: Add type="dir"
* docs/schemas/domain.rng: Document new disk type
* src/xen/xend_internal.c, src/xen/xm_internal.c: Raise error for
  unsupported disk types
* tests/qemuxml2argvdata/qemuxml2argv-disk-cdrom-empty.args: Fix
  empty disk file handling
* tests/qemuxml2argvdata/qemuxml2argv-disk-drive-fat.args,
  tests/qemuxml2argvdata/qemuxml2argv-disk-drive-fat.xml,
  tests/qemuxml2argvdata/qemuxml2argv-floppy-drive-fat.args,
  tests/qemuxml2argvdata/qemuxml2argv-floppy-drive-fat.xml
  tests/qemuxml2argvtest.c: Test QEMU vitual FAT driver
* src/qemu/qemu_conf.c: Support generating fat:/some/dir type
  disk args
* src/security/security_selinux.c: Temporarily skip labelling
  of directory based disks
2009-11-23 12:17:16 +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 Add netcf XML schemas and test data 2009-07-15 20:16:36 +02: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 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 test data for qemu-kvm-0.11.0-rc2 2009-09-10 12:37:35 +01:00
qemuxml2argvdata Support QEMU's virtual FAT block device driver 2009-11-23 12:17:16 +00:00
sexpr2xmldata Don't blindly reorder disk drives 2009-09-02 15:19: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 esxDomainDefineXML() 2009-09-23 15:00:54 +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 Don't blindly reorder disk drives 2009-09-02 15:19:34 +01:00
xml2vmxdata esx: Fix MAC address formatting 2009-11-15 15:22:01 +01:00
.gitignore tests: Add storage volume XML 2 XML tests. 2009-10-16 10:52:27 -04:00
.valgrind.supp Fix bogus valgrind memory leak warnings in test suite 2009-01-28 21:53:48 +00:00
capabilityschematest Remove bashisms from schema tests. 2009-10-17 01:16:25 +02:00
conftest.c extend the configuration parser for VMX syntax 2009-06-19 12:34:30 +00:00
cpuset Various error reporting fixes 2009-11-03 16:46:54 -05:00
daemon-conf Fix up "make check" 2009-10-07 12:18:13 +02:00
define-dev-segfault Fix up "make check" 2009-10-07 12:18:13 +02:00
domainschematest Remove bashisms from schema tests. 2009-10-17 01:16:25 +02:00
esxutilstest.c ESX add esxDomainDefineXML() 2009-09-23 15:00:54 +02:00
eventtest.c Rename qemud/ directory to daemon/ 2009-09-21 14:41:42 +01:00
int-overflow Fix up "make check" 2009-10-07 12:18:13 +02:00
interfaceschematest Remove bashisms from schema tests. 2009-10-17 01:16:25 +02:00
interfacexml2xmltest.c tests: Centralize VIR_TEST_DEBUG lookup, and document it 2009-10-20 14:17:34 -04: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 a make dist error due to wrong EXTRA_DIST paths 2009-10-21 11:16:21 +02:00
networkschematest Remove bashisms from schema tests. 2009-10-17 01:16:25 +02:00
networkxml2xmltest.c Add support for an external TFTP boot server 2009-10-28 15:57:49 +01:00
nodedevschematest Remove bashisms from schema tests. 2009-10-17 01:16:25 +02:00
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 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 Annotate many methods with ATTRIBUTE_RETURN_CHECK & fix problems 2009-11-02 11:09:03 -05:00
qemuhelptest.c qemu-kvm needs -enable-kvm flag for VT optimization 2009-11-20 15:41:05 +01:00
qemuxml2argvtest.c Support QEMU's virtual FAT block device driver 2009-11-23 12:17:16 +00:00
qemuxml2xmltest.c Support QEMU's virtual FAT block device driver 2009-11-23 12:17:16 +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 remove all trailing blank lines 2009-07-16 15:06:42 +02:00
schematestutils.sh Remove bashisms from schema tests. 2009-10-17 01:16:25 +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 Move xen driver code into src/xen/ directory 2009-09-21 14:41:42 +01:00
start Fix up "make check" 2009-10-07 12:18:13 +02:00
statstest.c tests: Centralize VIR_TEST_DEBUG lookup, and document it 2009-10-20 14:17:34 -04:00
storagepoolschematest Remove bashisms from schema tests. 2009-10-17 01:16:25 +02:00
storagepoolxml2xmltest.c tests: Add XML 2 XML tests for storage pools. 2009-10-16 10:21:47 -04:00
storagevolschematest Remove bashisms from schema tests. 2009-10-17 01:16:25 +02:00
storagevolxml2xmltest.c tests: Add storage volume XML 2 XML tests. 2009-10-16 10:52:27 -04:00
test_conf.sh Fix up "make check" 2009-10-07 12:18:13 +02:00
test-lib.sh Don't fail to read a file because it's non-seekable (e.g., a pipe). 2008-04-08 15:33:16 +00:00
testutils.c tests: Centralize VIR_TEST_DEBUG lookup, and document it 2009-10-20 14:17:34 -04:00
testutils.h tests: Centralize VIR_TEST_DEBUG lookup, and document it 2009-10-20 14:17:34 -04:00
testutilsqemu.c tests: Centralize VIR_TEST_DEBUG lookup, and document it 2009-10-20 14:17:34 -04: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 Fix up "make check" 2009-10-07 12:18:13 +02:00
virsh-synopsis Fix up "make check" 2009-10-07 12:18:13 +02:00
virshtest.c Move example XML files into examples/xml 2009-09-21 14:41:48 +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 add esxDomainDefineXML() 2009-09-23 15:00:54 +02:00
xencapstest.c Move xen driver code into src/xen/ directory 2009-09-21 14:41:42 +01:00
xmconfigtest.c Move xen driver code into src/xen/ directory 2009-09-21 14:41:42 +01:00
xml2sexprtest.c Move xen driver code into src/xen/ directory 2009-09-21 14:41:42 +01:00
xml2vmxtest.c ESX add esxDomainDefineXML() 2009-09-23 15:00:54 +02:00