libvirt/tests
Peter Krempa 327430fcfc qemu: Format 'write-cache' parameter for disk frontends
The disk cache mode translates to various frontend and backend
attributes for the qemu block layer. For the frontend device the
'writeback' parameter is used and provided as 'write-cache'. Implement
this so that we can later switch to using -blockdev where we will not
pass the cachemode directly any more.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
2018-04-19 11:20:34 +02:00
..
bhyveargv2xmldata
bhyvexml2argvdata bhyve: Add support for VNC autoport 2017-08-06 09:24:26 +04:00
bhyvexml2xmloutdata bhyve: Add support for VNC autoport 2017-08-06 09:24:26 +04:00
capabilityschemadata
commanddata tests: fix typo 2017-11-20 13:22:48 +01:00
cputestdata cputest: New test for Intel Core i5-650 2018-04-18 11:39:53 +02:00
domaincapsschemadata tests: qemucapabilities: Drop mostly duplicated data 2018-03-23 20:27:52 +01:00
domainconfdata
domainschemadata
domainsnapshotxml2xmlin storage: Store RBD image name as pool and image name 2017-11-07 14:58:04 +01:00
domainsnapshotxml2xmlout tests: domainsnapshotxml2xml: Remove testing with allowed format detection 2018-03-13 13:54:06 +01:00
fchostdata/fc_host
genericxml2xmlindata tests: Add test for properly removing cachetune entries 2018-02-02 14:51:32 +01:00
genericxml2xmloutdata tests: Add test for properly removing cachetune entries 2018-02-02 14:51:32 +01:00
interfaceschemadata
libxlxml2domconfigdata tests: check CPU features handling in libxl driver 2018-04-17 21:15:27 -06:00
lxcconf2xmldata
lxcxml2xmldata lxc: add possibility to define init uid/gid 2017-07-11 10:41:24 +02:00
lxcxml2xmloutdata
networkxml2confdata
networkxml2firewalldata
networkxml2xmlin
networkxml2xmlout
networkxml2xmlupdatein
networkxml2xmlupdateout
nodedevschemadata nodedev: add switchdev to NIC capabilities 2017-09-18 08:32:24 -04:00
nssdata
nwfilterxml2firewalldata nwfilter: remove bogus 'protocolid' attribute on arp/rarp fields 2017-12-07 09:21:04 +00:00
nwfilterxml2xmlin nwfilter: remove bogus 'protocolid' attribute on arp/rarp fields 2017-12-07 09:21:04 +00:00
nwfilterxml2xmlout
qemuagentdata test: Drop useless prefix for qemuagent test data 2017-12-05 14:52:49 +01:00
qemuargv2xmldata conf: Allow configuration of implicit controller model 2018-01-31 11:32:04 -05:00
qemucapabilitiesdata qemu: caps: Add capability for 'write-cache' parameter of disk frontends 2018-04-19 11:20:34 +02:00
qemucaps2xmldata
qemuhotplugtestcpus virQEMUCapsHasPCIMultiBus: use def->os.arch 2017-11-30 16:49:05 +01:00
qemuhotplugtestdevices qemuhotplugtest: Test user supplied alias 2017-10-27 14:43:21 +02:00
qemuhotplugtestdomains qemu: Don't assign alias to disabled balloon device 2018-03-19 21:22:43 +01:00
qemumemlockdata tests: Update qemumemlock data 2017-07-15 14:50:42 +02:00
qemumigparamsdata qemumigparamstest: Add test data for TLS parameters 2018-04-17 10:46:23 +02:00
qemumonitorjsondata tests: add testcase for s390 query-cpus-fast 2018-04-17 12:45:26 -04:00
qemustatusxml2xmldata qemuxml2xmltest: Add status XML tests for migration params 2018-04-17 10:46:23 +02:00
qemuxml2argvdata qemu: Format 'write-cache' parameter for disk frontends 2018-04-19 11:20:34 +02:00
qemuxml2startupxmloutdata qemu: domain: Move initialization of disk cachemode for <shareable> disks 2018-04-03 15:48:38 +02:00
qemuxml2xmloutdata tests: Use pcie-to-pci-bridge for aarch64-traditional-pci 2018-04-06 14:12:25 +02:00
secretxml2xmlin
securityselinuxhelperdata
securityselinuxlabeldata
sexpr2xmldata libxl: add support for memballoon device 2018-04-11 11:47:33 -06:00
storagepoolschemadata
storagepoolxml2xmlin
storagepoolxml2xmlout
storagevolschemadata
storagevolxml2argvdata storage: extend preallocation flags support for qemu-img 2018-04-11 10:15:58 +02:00
storagevolxml2xmlin
storagevolxml2xmlout
sysinfodata virsysinfo: Use more virSkipSpacesBackwards() 2018-03-14 17:43:40 +01:00
vboxsnapshotxmldata
vircaps2xmldata tests: Clean up and modify some vircaps2xmldata 2018-01-25 17:16:08 +01:00
vircgroupdata Avoid hidden cgroup mount points 2017-07-13 09:37:52 +02:00
virconfdata Use https:// links for most sites 2017-10-16 10:22:34 +01:00
virfilecachedata tests: add virfilecachetest 2017-07-26 15:33:45 +02:00
virfiledata
virhostcpudata tests: Break symlink loop 2018-01-11 14:23:09 +01:00
virjsondata tests: Validate that JSON deflattening fixed nested json pseudo-protocol strings 2017-07-11 14:24:17 +02:00
virmacmaptestdata tests: deterministichash: Make hash tables arch-independent 2017-08-03 09:54:36 +02:00
virnetdaemondata tests: validate private data / pre / post exec hooks for RPC APIs 2018-02-02 13:00:48 +00:00
virnetdevtestdata/sys/class/net
virpcitestdata
virresctrldata tests: Clean up and modify some vircaps2xmldata 2018-01-25 17:16:08 +01:00
virscsidata
virstorageutildata
virusbtestdata/sys_bus_usb/devices
vmwareverdata
vmx2xmldata vmx: convert any amount of NICs 2018-04-01 12:43:42 +02:00
xlconfigdata tests: add test case for CPUID in xenconfig driver 2018-04-17 21:15:27 -06:00
xmconfigdata libxl: add support for memballoon device 2018-04-11 11:47:33 -06:00
xml2sexprdata tests: move xml2sexpr tests to WITH_LIBXL 2018-04-09 11:33:30 -06:00
xml2vmxdata
.valgrind.supp
bhyveargv2xmlmock.c conf: move 'generated' member from virMacAddr to virDomainNetDef 2018-02-19 13:15:00 -05:00
bhyveargv2xmltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
bhyvexml2argvmock.c port allocator: drop skip bind check flag 2018-02-22 13:52:45 +01:00
bhyvexml2argvtest.c port allocator: remove release functionality from set used 2018-02-22 13:52:45 +01:00
bhyvexml2xmltest.c tests: bhyvexml2xml: Fix call to testCompareDomXML2XMLFiles 2018-03-13 15:32:31 +01:00
check-file-access.pl perl: Don't hardcode interpreter path 2017-09-19 16:04:53 +02:00
commandhelper.c Fix commandhelper build on win32 2017-09-21 08:55:07 +01:00
commandtest.c tests: fix typo 2017-11-20 13:22:48 +01:00
cputest.c cputest: New test for Intel Core i5-650 2018-04-18 11:39:53 +02:00
domaincapsmock.c
domaincapstest.c tests: qemucapabilities: Drop mostly duplicated data 2018-03-23 20:27:52 +01:00
domainconftest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
domainsnapshotxml2xmltest.c tests: domainsnapshotxml2xml: Remove testing with allowed format detection 2018-03-13 13:54:06 +01:00
esxutilstest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
eventtest.c
fchosttest.c
fdstreamtest.c
file_access_whitelist.txt
genericxml2xmltest.c tests: util: Remove callback from testCompareDomXML2XMLFiles 2018-03-13 13:54:11 +01:00
interfacexml2xmltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
libvirtd-fail
libvirtd-pool
libxlxml2domconfigtest.c tests: check CPU features handling in libxl driver 2018-04-17 21:15:27 -06:00
lxcconf2xmltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
lxcxml2xmltest.c tests: util: Remove callback from testCompareDomXML2XMLFiles 2018-03-13 13:54:11 +01:00
Makefile.am tests: Compile and link virmocklibxl with libxml 2018-04-18 10:02:14 +02:00
metadatatest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
networkxml2conftest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
networkxml2firewalltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
networkxml2xmltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
networkxml2xmlupdatetest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
nodedevxml2xmltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
nsslinktest.c
nssmock.c
nsstest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
nwfilterebiptablestest.c
nwfilterxml2firewalltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
nwfilterxml2xmltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
objecteventtest.c storage: Add new events for *PoolBuild() and *PoolDelete(). 2017-09-20 11:52:56 +02:00
objectlocking.ml
oomtrace.pl perl: Don't hardcode interpreter path 2017-09-19 16:04:53 +02:00
openvzutilstest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
openvzutilstest.conf
pkix_asn1_tab.c
qemuagenttest.c test: Drop useless prefix for qemuagent test data 2017-12-05 14:52:49 +01:00
qemuargv2xmltest.c test: Drop useless prefix for qemuargv2xml test data 2017-12-05 14:52:49 +01:00
qemublocktest.c util: json: Fix freeing of objects appended to virJSONValue 2018-04-03 13:34:33 +02:00
qemucapabilitiestest.c Require QEMU 1.5.0 2018-04-10 15:16:44 +02:00
qemucaps2xmlmock.c
qemucaps2xmltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
qemucapsfixreplies tests: introduce qemucapsfixreplies helper 2018-03-01 19:04:19 +01:00
qemucapsprobe.c Force QMP capability probing 2018-04-10 15:16:23 +02:00
qemucapsprobemock.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
qemucommandutiltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
qemucpumock.c qemu: pass only host arch instead of the whole virCaps 2017-07-26 15:35:24 +02:00
qemuhotplugtest.c tests: qemumonitor: Allow testing schema for fake monitor interactions 2018-03-23 14:52:07 +01:00
qemumemlocktest.c qemu: Complete PCI command checks to controller def validate 2018-02-02 14:52:23 -05:00
qemumigparamstest.c qemumigparamstest: Add test data for TLS parameters 2018-04-17 10:46:23 +02:00
qemumonitorjsontest.c tests: add testcase for s390 query-cpus-fast 2018-04-17 12:45:26 -04:00
qemumonitortest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
qemumonitortestutils.c tests: add qemumonitorjson tests for query-cpus-fast 2018-04-17 12:45:26 -04:00
qemumonitortestutils.h tests: add qemumonitorjson tests for query-cpus-fast 2018-04-17 12:45:26 -04:00
qemuqapischema.json tests: Add data file with QEMU QAPI schema 2018-03-23 14:52:07 +01:00
qemuxml2argvmock.c tests: mock qemuInterfaceOpenVhostNet 2018-04-17 14:02:09 +02:00
qemuxml2argvtest.c tests: qemuxml2argv: Test formatting of 'write-cache' parameter 2018-04-19 11:20:34 +02:00
qemuxml2xmltest.c qemu: deprecate QEMU_CAPS_DISPLAY 2018-04-17 14:49:21 +02:00
scsihosttest.c
seclabeltest.c
secretxml2xmltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
securityselinuxhelper.c
securityselinuxlabeltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
securityselinuxtest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
sexpr2xmltest.c tests: move sexpr2xml tests to WITH_LIBXL 2018-04-09 11:34:35 -06:00
shunloadhelper.c
shunloadtest.c
sockettest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
ssh.c
storagebackendsheepdogtest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
storagepoolxml2xmltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
storagevolxml2argvtest.c storage: open secret driver connection at time of use 2018-01-31 18:34:48 +00:00
storagevolxml2xmltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
sysinfotest.c Fix build with clang 6.0.0 2018-03-12 20:04:08 +04:00
test-lib.sh
test-wrap-argv.pl
testutils.c tests: utils: Fix out-of-bounds access to memory in virTestCompareToFile 2018-04-04 12:04:21 +02:00
testutils.h tests: util: Remove callback from testCompareDomXML2XMLFiles 2018-03-13 13:54:11 +01:00
testutilshostcpus.h tests: rewrite host CPU mocking 2017-07-26 15:35:02 +02:00
testutilslxc.c
testutilslxc.h
testutilsqemu.c tests: qemu: Add helper code to lookup latest capability file 2018-04-19 11:20:34 +02:00
testutilsqemu.h tests: qemu: Add helper code to lookup latest capability file 2018-04-19 11:20:34 +02:00
testutilsqemuschema.c tests: qemu: Add infrastructure for QAPI schema testing 2018-03-23 14:52:07 +01:00
testutilsqemuschema.h tests: qemu: Add infrastructure for QAPI schema testing 2018-03-23 14:52:07 +01:00
testutilsxen.c Remove xencaps tests and data files 2018-04-09 11:37:15 -06:00
testutilsxen.h Remove xencaps tests and data files 2018-04-09 11:37:15 -06:00
utiltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
vboxsnapshotxmltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
viralloctest.c
viratomictest.c
virauthconfigtest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virbitmaptest.c util: bitmap: Use VIR_SHRINK_N in virBitmapShrink 2018-02-05 16:08:57 +01:00
virbuftest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
vircaps2xmltest.c build: Fix make dist 2017-11-22 11:27:40 +01:00
vircapstest.c Remove xencaps tests and data files 2018-04-09 11:37:15 -06:00
vircgroupmock.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
vircgrouptest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virconftest.c virconf: properly set the end of content 2017-11-09 08:04:26 -07:00
vircryptotest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virdbusmock.c
virdbustest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virdeterministichashmock.c tests: deterministichash: Make hash tables arch-independent 2017-08-03 09:54:36 +02:00
virdrivermoduletest.c Remove xencaps tests and data files 2018-04-09 11:37:15 -06:00
virendiantest.c
virfilecachemock.c tests: add virfilecachetest 2017-07-26 15:33:45 +02:00
virfilecachetest.c virobject: Introduce VIR_CLASS_NEW() macro 2018-04-18 10:04:55 +02:00
virfiletest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virfilewrapper.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virfilewrapper.h
virfirewalltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virhashdata.h
virhashtest.c util: don't check for parallel iteration in hash-related functions 2018-04-11 11:18:37 +02:00
virhostcpumock.c
virhostcputest.c tests: virhostcputest: testcase for S390 system 2018-01-10 17:34:37 -05:00
virhostdevtest.c qemu: Remove private hostdev 2017-11-24 11:47:26 -05:00
viridentitytest.c
viriscsitest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virjsontest.c virjsontest: Use a more stable floating point number for testing 2018-04-04 15:08:32 +02:00
virkeycodetest.c keycodemapdb: Update submodule 2018-03-12 16:30:49 +01:00
virkeyfiletest.c
virkmodtest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virlockspacetest.c
virlogtest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virmacmaptest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virmock.h Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virmocklibxl.c virmocklibxl.c: Fix include of virfile.h 2018-04-18 09:59:52 +02:00
virnetdaemonmock.c
virnetdaemontest.c tests: validate private data / pre / post exec hooks for RPC APIs 2018-02-02 13:00:48 +00:00
virnetdevbandwidthmock.c
virnetdevbandwidthtest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virnetdevmock.c
virnetdevtest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virnetmessagetest.c
virnetserverclientmock.c
virnetserverclienttest.c tests: validate private data / pre / post exec hooks for RPC APIs 2018-02-02 13:00:48 +00:00
virnetsockettest.c tests: Fix virnetsockettest after SSH command line changes 2017-08-30 10:50:17 +02:00
virnettlscontexttest.c tests: force use of "NORMAL" TLS priority in test suite 2018-03-06 10:09:44 +00:00
virnettlshelpers.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virnettlshelpers.h
virnettlssessiontest.c tests: force use of "NORMAL" TLS priority in test suite 2018-03-06 10:09:44 +00:00
virnumamock.c
virpcimock.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
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
virresctrltest.c tests: Add virresctrltest 2018-01-25 17:16:08 +01:00
virrotatingfiletest.c
virschematest.c Remove xencaps tests and data files 2018-04-09 11:37:15 -06:00
virscsitest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virsh-cpuset
virsh-define-dev-segfault
virsh-int-overflow
virsh-optparse
virsh-read-bufsiz
virsh-read-non-seekable
virsh-schedinfo
virsh-self-test
virsh-start
virsh-undefine
virsh-uriprecedence
virsh-vcpupin
virshtest.c tests: run virshtest independent of current pwd 2018-02-13 10:27:32 -05:00
virstoragetest.c util: storage: Remove detected authentication data for backing chains 2018-02-14 16:04:46 +01:00
virstorageutiltest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virstringtest.c virstringtest: Fix alignment of backslashes 2018-01-04 09:29:49 +01:00
virsystemdtest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virt-aa-helper-test virt-aa-helper: test: check for expected profile content 2018-03-23 07:14:58 +01:00
virt-admin-self-test
virtestmock.c
virtimetest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virtypedparamtest.c
viruritest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
virusbmock.c tests: Fix build with clang 2017-10-05 09:09:50 +02:00
virusbtest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
vmwarevertest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00
vmx2xmltest.c vmx: convert any amount of NICs 2018-04-01 12:43:42 +02:00
xlconfigtest.c tests: add test case for CPUID in xenconfig driver 2018-04-17 21:15:27 -06:00
xmconfigtest.c tests: move xmconfig tests to WITH_LIBXL 2018-04-09 11:36:17 -06:00
xml2sexprtest.c tests: move xml2sexpr tests to WITH_LIBXL 2018-04-09 11:33:30 -06:00
xml2vmxtest.c Remove backslash alignment attempts 2017-11-03 13:24:12 +01:00