libvirt/tests
Daniel P. Berrangé b340c6c614 qemu: format serial and geometry on frontend disk device
Currently we format the serial, geometry and error policy on the -drive
backend argument.

QEMU added the ability to set serial and geometry on the frontend in
the 1.2 release deprecating use of -drive, with support being deleted
from -drive in 3.0.

We keep formatting error policy on -drive for now, because we don't
ahve support for that with -device for usb-storage just yet.

Note that some disk buses (sd) still don't support -device. Although
QEMU allowed these properties to be set on -drive for if=sd, they
have been ignored so we now report an error in this case.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
2018-07-03 16:32:42 +01:00
..
bhyveargv2xmldata bhyve: add tests for wiring memory 2018-05-13 13:38:31 +04:00
bhyvexml2argvdata bhyve: tests: Add missing data files 2018-06-08 21:53:36 +04:00
bhyvexml2xmloutdata bhyve: add tests for wiring memory 2018-05-13 13:38:31 +04:00
capabilityschemadata schema: Fix capability grammar for pagesElem 2018-05-25 09:36:42 -04:00
commanddata
cputestdata
domaincapsschemadata conf: Fix formatting of <sev> element in domain capabilities XML 2018-06-15 10:49:13 +02:00
domainconfdata
domainschemadata
domainsnapshotxml2xmlin
domainsnapshotxml2xmlout
fchostdata/fc_host
genericxml2xmlindata conf: prefer camelCase for launchSecurity 2018-06-13 14:42:17 +02:00
genericxml2xmloutdata
interfaceschemadata
libxlxml2domconfigdata
lxcconf2xmldata
lxcxml2xmldata
lxcxml2xmloutdata
networkxml2confdata
networkxml2firewalldata
networkxml2xmlin
networkxml2xmlout
networkxml2xmlupdatein
networkxml2xmlupdateout
nodedevschemadata schema: Add missing block data for nodedev 2018-05-25 09:36:42 -04:00
nssdata
nwfilterxml2firewalldata
nwfilterxml2xmlin
nwfilterxml2xmlout
qemuagentdata
qemuargv2xmldata conf: introduce virDomainDefBootOrderPostParse 2018-05-29 10:22:08 +02:00
qemublocktestdata/xml2json tests: qemublock: Test NBD with TLS in the JSON generator 2018-06-05 08:14:00 +02:00
qemucapabilitiesdata qemu: Add capability for the HTM pSeries feature 2018-07-03 09:46:52 +02:00
qemucaps2xmldata capabilities: Extend capabilities with iommu_support 2018-06-05 08:33:13 +02:00
qemuhotplugtestcpus
qemuhotplugtestdevices
qemuhotplugtestdomains
qemumemlockdata
qemumigparamsdata
qemumonitorjsondata
qemustatusxml2xmldata qemu: domain: Regenerate alias for the TLS x509 credential object 2018-06-05 08:13:57 +02:00
qemuxml2argvdata qemu: format serial and geometry on frontend disk device 2018-07-03 16:32:42 +01:00
qemuxml2startupxmloutdata
qemuxml2xmloutdata qemu: format serial and geometry on frontend disk device 2018-07-03 16:32:42 +01:00
secretxml2xmlin
securityselinuxhelperdata
securityselinuxlabeldata
sexpr2xmldata conf: introduce virDomainDefBootOrderPostParse 2018-05-29 10:22:08 +02:00
storagepoolschemadata
storagepoolxml2xmlin
storagepoolxml2xmlout
storagevolschemadata schema: Add physical sizing element for storagevol grammar 2018-05-25 09:32:37 -04:00
storagevolxml2argvdata storage: Add support for using inputvol for encryption 2018-06-26 14:02:43 -04:00
storagevolxml2xmlin storage: Add support for using inputvol for encryption 2018-06-26 14:02:43 -04:00
storagevolxml2xmlout storage: Disallow create/resize of qcow2 encrypted images 2018-06-26 14:02:43 -04:00
sysinfodata
vboxsnapshotxmldata
vircaps2xmldata capabilities: Extend capabilities with iommu_support 2018-06-05 08:33:13 +02:00
vircgroupdata
virconfdata
virfilecachedata
virfiledata
virhostcpudata
virjsondata
virmacmaptestdata
virnetdaemondata tests: validate private data / pre / post exec hooks for RPC APIs 2018-02-02 13:00:48 +00:00
virnetdevtestdata/sys/class/net
virnwfilterbindingxml2xmldata conf: add support for parsing/formatting virNWFilterBindingDefPtr 2018-06-26 11:22:07 +01:00
virpcitestdata
virresctrldata
virscsidata
virstorageutildata
virusbtestdata/sys_bus_usb/devices
vmwareverdata
vmx2xmldata
xlconfigdata
xmconfigdata tests: xmconfigtest: add tests for cmdline formating 2018-06-04 20:59:16 -06:00
xml2sexprdata
xml2vmxdata vmx: write cpuid.coresPerSocket back from CPU topology 2018-04-20 09:11:01 +02:00
.valgrind.supp
bhyveargv2xmlmock.c
bhyveargv2xmltest.c bhyve: add tests for wiring memory 2018-05-13 13:38:31 +04:00
bhyvexml2argvmock.c
bhyvexml2argvtest.c bhyve: Add CPU topology support 2018-06-07 19:26:26 +04:00
bhyvexml2xmltest.c bhyve: add tests for wiring memory 2018-05-13 13:38:31 +04:00
check-file-access.pl
commandhelper.c
commandtest.c all: Replace virGetLastError with virGetLastErrorCode where we can 2018-06-05 18:44:05 +02:00
cputest.c cpu: Add optional list of allowed features to virCPUBaseline 2018-05-28 15:59:11 +02:00
domaincapsmock.c domaincapstest: Don't read data from host 2016-07-01 12:20:54 +02:00
domaincapstest.c
domainconftest.c
domainsnapshotxml2xmltest.c
esxutilstest.c
eventtest.c
fchosttest.c
fdstreamtest.c
file_access_whitelist.txt
genericxml2xmltest.c conf: Introduce launch-security element in domain 2018-06-12 10:00:49 +02:00
group-qemu-caps.pl
interfacexml2xmltest.c
libvirtd-fail
libvirtd-pool tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
libxlxml2domconfigtest.c test: Check return status for libxlxml2domconfigtest 2018-06-11 18:33:13 -04:00
lxcconf2xmltest.c
lxcxml2xmltest.c
Makefile.am conf: add support for parsing/formatting virNWFilterBindingDefPtr 2018-06-26 11:22:07 +01:00
metadatatest.c tests: initialize some variables 2018-05-30 15:54:58 +02:00
networkxml2conftest.c
networkxml2firewalltest.c
networkxml2xmltest.c
networkxml2xmlupdatetest.c
nodedevxml2xmltest.c schema: Add missing block data for nodedev 2018-05-25 09:36:42 -04:00
nsslinktest.c
nssmock.c
nsstest.c
nwfilterebiptablestest.c
nwfilterxml2firewalltest.c
nwfilterxml2xmltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
objecteventtest.c tests: initialize some variables 2018-05-30 15:54:58 +02:00
objectlocking.ml
oomtrace.pl
openvzutilstest.c
openvzutilstest.conf
pkix_asn1_tab.c
qemuagenttest.c tests: replace references to yajl 2018-05-11 13:28:35 +02:00
qemuargv2xmltest.c
qemublocktest.c tests: qemublock: Test NBD with TLS in the JSON generator 2018-06-05 08:14:00 +02:00
qemucapabilitiestest.c tests: Add replies for QEMU 3.0.0 on ppc64 2018-06-26 10:15:36 +02:00
qemucaps2xmlmock.c
qemucaps2xmltest.c tests: replace references to yajl 2018-05-11 13:28:35 +02:00
qemucapsfixreplies tests: Fix qemucapsfixreplies 2018-06-19 14:01:14 +02:00
qemucapsprobe.c
qemucapsprobemock.c tests: qemucapsprobemock: Prepare 'qemucapsprobe' for the new format 2018-06-12 10:27:50 +02:00
qemucommandutiltest.c tests: replace references to yajl 2018-05-11 13:28:35 +02:00
qemucpumock.c
qemuhotplugtest.c qemu_hotplug: Allow asynchronous detach 2018-05-28 13:08:52 +02:00
qemumemlocktest.c
qemumigparamstest.c tests: replace references to yajl 2018-05-11 13:28:35 +02:00
qemumonitorjsontest.c tests: qemumonitorjson: Fix name and call apropriate API 2018-07-03 06:34:08 +02:00
qemumonitortestutils.c tests: qemumonitor: Optimize control flow when concatenating replies 2018-06-12 10:27:50 +02:00
qemumonitortestutils.h
qemuqapischema.json
qemuxml2argvmock.c qemu: support passing pre-opened UNIX socket listen FD 2018-06-05 17:30:28 +01:00
qemuxml2argvtest.c conf: Parse and format the HTM pSeries feature 2018-07-03 09:46:59 +02:00
qemuxml2xmltest.c conf: Parse and format the HTM pSeries feature 2018-07-03 09:46:59 +02:00
scsihosttest.c
seclabeltest.c
secretxml2xmltest.c
securityselinuxhelper.c
securityselinuxlabeltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
securityselinuxtest.c
sexpr2xmltest.c
shunloadhelper.c
shunloadtest.c Remove unnecessary curly brackets in tests/ 2014-11-14 17:13:36 +01:00
sockettest.c
ssh.c
storagebackendsheepdogtest.c
storagepoolxml2xmltest.c
storagevolxml2argvtest.c storage: Add support for using inputvol for encryption 2018-06-26 14:02:43 -04:00
storagevolxml2xmltest.c storage: Disallow create/resize of qcow2 encrypted images 2018-06-26 14:02:43 -04:00
sysinfotest.c
test-lib.sh
test-wrap-argv.pl
testutils.c all: Replace virGetLastError with virGetLastErrorCode where we can 2018-06-05 18:44:05 +02:00
testutils.h
testutilshostcpus.h
testutilslxc.c
testutilslxc.h
testutilsqemu.c
testutilsqemu.h
testutilsqemuschema.c util: Clean up consumers of virJSONValueArraySize 2018-05-10 14:59:15 -04:00
testutilsqemuschema.h tests: qemu: Add infrastructure for QAPI schema testing 2018-03-23 14:52:07 +01:00
testutilsxen.c
testutilsxen.h
utiltest.c
vboxsnapshotxmltest.c
viralloctest.c
viratomictest.c
virauthconfigtest.c
virbitmaptest.c
virbuftest.c
vircaps2xmltest.c
vircapstest.c
vircgroupmock.c
vircgrouptest.c
virconftest.c
vircryptotest.c src: Drop most of #ifdef WITH_GNUTLS 2018-06-05 14:32:36 +02:00
virdbusmock.c
virdbustest.c
virdeterministichashmock.c
virdrivermoduletest.c
virendiantest.c
virfilecachemock.c
virfilecachetest.c src: Drop most of #ifdef WITH_GNUTLS 2018-06-05 14:32:36 +02:00
virfiletest.c
virfilewrapper.c
virfilewrapper.h
virfirewalltest.c
virhashdata.h
virhashtest.c
virhostcpumock.c
virhostcputest.c all: Replace virGetLastError with virGetLastErrorCode where we can 2018-06-05 18:44:05 +02:00
virhostdevtest.c
viridentitytest.c
viriscsitest.c
virjsontest.c
virkeycodetest.c
virkeyfiletest.c
virkmodtest.c
virlockspacetest.c tests: Rename VIRT_TEST_* macros to VIR_TEST_* 2017-04-04 17:30:03 +02:00
virlogtest.c
virmacmaptest.c
virmock.h
virmocklibxl.c
virnetdaemonmock.c
virnetdaemontest.c src: Drop most of #ifdef WITH_GNUTLS 2018-06-05 14:32:36 +02:00
virnetdevbandwidthmock.c Iface: disallow network tuning in session mode globally 2014-11-06 14:28:37 +01:00
virnetdevbandwidthtest.c
virnetdevmock.c
virnetdevtest.c
virnetmessagetest.c
virnetserverclientmock.c
virnetserverclienttest.c src: Drop most of #ifdef WITH_GNUTLS 2018-06-05 14:32:36 +02:00
virnetsockettest.c
virnettlscontexttest.c
virnettlshelpers.c
virnettlshelpers.h tls: remove support for gnutls 1.x.x, require 2.2.0 2016-06-08 13:48:45 +01:00
virnettlssessiontest.c
virnumamock.c
virnwfilterbindingxml2xmltest.c conf: add support for parsing/formatting virNWFilterBindingDefPtr 2018-06-26 11:22:07 +01:00
virpcimock.c
virpcitest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virpolkittest.c
virportallocatormock.c
virportallocatortest.c port allocator: drop skip bind check flag 2018-02-22 13:52:45 +01:00
virrandommock.c src: Drop most of #ifdef WITH_GNUTLS 2018-06-05 14:32:36 +02:00
virresctrltest.c
virrotatingfiletest.c
virschematest.c schemas: add schema for nwfilter binding XML document 2018-06-26 11:22:07 +01:00
virscsitest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virsh-cpuset
virsh-define-dev-segfault
virsh-int-overflow tests: consistently source test-lib.sh in scripts 2016-04-23 15:41:40 -04:00
virsh-optparse
virsh-read-bufsiz
virsh-read-non-seekable
virsh-schedinfo
virsh-self-test
virsh-start
virsh-undefine
virsh-uriprecedence
virsh-vcpupin
virshtest.c
virstoragetest.c util: storage: remove 'allow_probe' from virStorageFileGetMetadata 2018-06-08 09:26:38 +02:00
virstorageutiltest.c
virstringtest.c
virsystemdtest.c
virt-aa-helper-test
virt-admin-self-test
virtestmock.c
virtimetest.c
virtypedparamtest.c
viruritest.c
virusbmock.c
virusbtest.c
vmwarevertest.c
vmx2xmltest.c schema,tests: Use vpxmigr for host migrate transport capability 2018-05-25 09:33:39 -04:00
xlconfigtest.c xenconfig: remove my name and email from files 2018-05-08 13:45:51 +01:00
xmconfigtest.c tests: xmconfigtest: add tests for cmdline formating 2018-06-04 20:59:16 -06:00
xml2sexprtest.c
xml2vmxtest.c vmx: write cpuid.coresPerSocket back from CPU topology 2018-04-20 09:11:01 +02:00