libvirt/tests
Michal Privoznik 75dd595861 qemu: Fix @vm locking issue when connecting to the monitor
When connecting to qemu's monitor the @vm object is unlocked.
This is justified - connecting may take a long time and we don't
want to wait with the domain object locked. However, just before
the domain object is locked again, the monitor's FD is registered
in the event loop. Therefore, there is a small window where the
event loop has a chance to call a handler for an event that
occurred on the monitor FD but vm is not initalized properly just
yet (i.e. priv->mon is not set). For instance, if there's an
incoming migration, qemu creates its socket but then fails to
initialize (for various reasons, I'm reproducing this by using
hugepages but leaving the HP pool empty) then the following may
happen:

1) qemuConnectMonitor() unlocks @vm

2) qemuMonitorOpen() connects to the monitor socket and by
   calling qemuMonitorOpenInternal() which subsequently calls
   qemuMonitorRegister() the event handler is installed

3) qemu fails to initialize and exit()-s, which closes the
   monitor

4) The even loop sees EOF on the monitor and the control gets to
   qemuProcessEventHandler() which locks @vm and calls
   processMonitorEOFEvent() which then calls
   qemuMonitorLastError(priv->mon). But priv->mon is not set just
   yet.

5) qemuMonitorLastError() dereferences NULL pointer

The solution is to unlock the domain object for a shorter time
and most importantly, register event handler with domain object
locked so that any possible event processing is done only after
@vm's private data was properly initialized.

This issue is also mentioned in v4.2.0-99-ga5a777a8ba.

Since we are unlocking @vm and locking it back, another thread
might have destroyed the domain meanwhile. Therefore we have to
check if domain is still active, and we have to do it at the
same place where domain lock is acquired back, i.e. in
qemuMonitorOpen(). This creates a small problem for our test
suite which calls qemuMonitorOpen() directly and passes @vm which
has no definition. This makes virDomainObjIsActive() call crash.
Fortunately, allocating empty domain definition is sufficient.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
2019-10-09 10:32:13 +02:00
..
bhyveargv2xmldata bhyve: add tests for wiring memory 2018-05-13 13:38:31 +04:00
bhyvexml2argvdata bhyve: implement ignore unknown MSRs feature 2019-02-24 13:20:51 +04:00
bhyvexml2xmloutdata bhyve: implement ignore unknown MSRs feature 2019-02-24 13:20:51 +04:00
capabilityschemadata Add armv6l Support as guest 2018-12-03 14:31:41 +01:00
commanddata commandtest: Remove commandhelper.log in test27 2019-07-29 16:27:05 +02:00
cputestdata cpu_map: Introduce IA32_ARCH_CAPABILITIES MSR features 2019-06-20 14:02:36 +02:00
domaincapsschemadata qemu: Adapt to changed ppc64 CPU model names 2019-10-09 09:53:41 +02:00
domainconfdata
domainschemadata
fchostdata/fc_host
genericxml2xmlindata conf: resctrl object is not properly handled 2019-08-20 15:36:36 +02:00
genericxml2xmloutdata conf: Add support for emulatorsched 2019-04-16 13:46:17 +02:00
interfaceschemadata
libxlxml2domconfigdata libxl: Add support for max_grant_frames 2019-03-13 12:06:52 -06:00
lxcconf2xmldata conf: Avoid formatting empty <capabilities> element 2019-03-06 15:53:53 +01:00
lxcxml2xmldata
lxcxml2xmloutdata
networkxml2confdata network: wire up dnsmasq option xmlns 2019-07-17 17:18:56 -04:00
networkxml2firewalldata network: delay global firewall setup if no networks are running 2019-05-23 16:29:48 +01:00
networkxml2xmlin network: wire up dnsmasq option xmlns 2019-07-17 17:18:56 -04:00
networkxml2xmlout network: wire up dnsmasq option xmlns 2019-07-17 17:18:56 -04:00
networkxml2xmlupdatein
networkxml2xmlupdateout
nodedevschemadata xml: nodedev: make pci capability class element optional 2019-03-22 12:59:56 +03:00
nssdata nss: Don't stop parsing on unexpected key 2019-08-09 12:17:19 +02:00
nwfilterxml2firewalldata
nwfilterxml2xmlin
nwfilterxml2xmlout
qemuagentdata
qemublocktestdata tests: qemublock: Use bigger numbers as dummy capacity/physical 2019-09-04 09:13:49 +02:00
qemucapabilitiesdata qemu: Adapt to changed ppc64 CPU model names 2019-10-09 09:53:41 +02:00
qemucaps2xmloutdata tests: Unify qemucaps2xml output files 2019-02-05 17:15:05 +01:00
qemudomaincheckpointxml2xmlin backup: Document new XML for checkpoints 2019-07-26 16:48:58 -05:00
qemudomaincheckpointxml2xmlout backup: Parse and output checkpoint XML 2019-07-26 16:48:58 -05:00
qemudomainsnapshotxml2xmlin snapshot: Rename qemu domain snapshot test files 2019-07-08 16:10:22 -05:00
qemudomainsnapshotxml2xmlout snapshot: Rename qemu domain snapshot test files 2019-07-08 16:10:22 -05:00
qemufirmwaredata qemufirmwaretest: Test qemuFirmwareFetchConfigs() 2019-03-12 15:29:44 +01:00
qemuhotplugtestcpus qemu: command: Use all vCPU properties when creating args for vCPU hotplug 2019-08-29 16:36:26 +02:00
qemuhotplugtestdevices tests: Add test case for QEMU pci-hostdev hotplug 2019-09-09 16:44:24 +02:00
qemuhotplugtestdomains tests: Add test case for QEMU pci-hostdev hotplug 2019-09-09 16:44:24 +02:00
qemumemlockdata
qemumigparamsdata Revert "Switch from yajl to Jansson" 2018-08-13 15:50:01 +02:00
qemumonitorjsondata qemu: monitor: Add infrastructure for 'query-jobs' 2019-07-18 17:59:33 +02:00
qemustatusxml2xmldata tests: qemustatusxml2xml: Fix disk target mess 2019-09-16 11:50:28 +02:00
qemuvhostuserdata qemu: add vhost-user helpers 2019-09-24 13:19:08 -04:00
qemuxml2argvdata tests: qemuxml2argv: Make use of versioned cpu-tsc-frequency and cpu-host-model-cmt tests 2019-10-07 13:46:38 +02:00
qemuxml2xmloutdata conf: new "managed" attribute for target dev of <interface type='ethernet'> 2019-09-09 14:35:54 -04:00
secretxml2xmlin secret: Add support for usage type vTPM, extend schema and test case 2019-07-26 09:59:27 +01:00
securityselinuxhelperdata
securityselinuxlabeldata
storagepoolcapsschemadata Revert "conf: Remove volOptions for VIR_STORAGE_POOL_RBD" 2019-07-12 17:09:43 +02:00
storagepoolschemadata
storagepoolxml2argvdata storage: Add storage pool namespace options to fs and netfs command lines 2019-01-29 19:16:19 -05:00
storagepoolxml2xmlin conf: storage: also sanitize source dir 2019-06-25 17:11:56 +02:00
storagepoolxml2xmlout conf: storage: also sanitize source dir 2019-06-25 17:11:56 +02:00
storagevolschemadata schema: Add physical sizing element for storagevol grammar 2018-05-25 09:32:37 -04:00
storagevolxml2argvdata util: require command args to be non-NULL 2018-12-17 14:43:33 +00:00
storagevolxml2xmlin util: require command args to be non-NULL 2018-12-17 14:43:33 +00:00
storagevolxml2xmlout conf: Remove volOptions for VIR_STORAGE_POOL_SHEEPDOG 2019-03-06 11:12:48 -05:00
sysinfodata virSysinfoReadARM: Try reading DMI table 2019-06-03 17:59:38 +02:00
vboxsnapshotxmldata
vircaps2xmldata conf: Introduce RDT monitor host capability 2018-09-20 13:06:02 -04:00
vircgroupdata vircgrouptest: add detect mounts test for hybrid cgroups 2018-10-05 15:53:29 +02:00
virconfdata remote: delete the avahi mDNS support 2019-06-21 12:59:42 +01:00
virfilecachedata
virfiledata virfile: Add Quobyte as a shared fs 2019-07-19 10:52:06 +02:00
virhostcpudata tests: Add linux-high-ids test 2018-08-14 15:52:35 +02:00
virjsondata virjsontest: switch DO_TEST_PARSE_FILE to use output files 2019-04-03 14:44:32 +02:00
virmacmaptestdata Revert "Switch from yajl to Jansson" 2018-08-13 15:50:01 +02:00
virnetdaemondata rpc: avoid unlinking sockets passed in from systemd 2019-07-12 16:55:39 +01:00
virnetdevopenvswitchdata test: Introduce virnetdevopenvswitchtest 2019-07-16 13:42:39 +02:00
virnetdevtestdata/sys/class/net
virnetworkportxml2xmldata conf: introduce virNetworkPortDefPtr struct and XML support 2019-06-17 15:19:54 +01:00
virnwfilterbindingxml2xmldata conf: add support for parsing/formatting virNWFilterBindingDefPtr 2018-06-26 11:22:07 +01:00
virpcitestdata virpcimock: Mock the SRIOV Virtual functions 2019-09-09 16:44:24 +02:00
virresctrldata conf: Add memory bandwidth allocation capability of host 2018-08-13 14:19:41 -04:00
virscsidata
virstorageutildata
virusbtestdata/sys_bus_usb/devices
vmwareverdata
vmx2xmldata vmx: convert firmware config for autoselection 2019-04-15 20:03:55 -04:00
xlconfigdata tests: Add several net model passthrough tests 2019-04-16 13:11:08 -04:00
xmconfigdata tests: Add several net model passthrough tests 2019-04-16 13:11:08 -04:00
xml2vmxdata vmx: write firmware back from autoselection 2019-04-15 20:03:55 -04:00
.valgrind.supp
Makefile.am qemu: add vhost-user helpers 2019-09-24 13:19:08 -04:00
bhyveargv2xmlmock.c
bhyveargv2xmltest.c tests: remove use of virTestOOMActive from bhyve testsuite 2019-09-13 16:03:18 +01:00
bhyvexml2argvmock.c
bhyvexml2argvtest.c tests: Always put a '\n' after each debug print 2019-08-27 15:49:48 +02:00
bhyvexml2xmltest.c tests: Always put a '\n' after each debug print 2019-08-27 15:49:48 +02:00
check-file-access.pl check-file-access: Allow specifying action 2018-08-15 10:15:29 +02:00
commandhelper.c tests: Drop /private CWD prefix in commandhelper 2019-08-23 11:26:26 +01:00
commandtest.c util: remove some no-op thread functions 2019-09-19 12:50:21 +01:00
cputest.c qemu_monitor: allow cpu props to be optional 2019-10-07 10:09:49 +02:00
domaincapsmock.c tests: domcaps: Remove dependency on libxl PVUSB support 2019-02-11 17:40:44 -05:00
domaincapstest.c tests: add qemu capabilities data for qemu 4.2 2019-09-27 07:20:14 +02:00
domainconftest.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
esxutilstest.c src: More cleanup of some system headers already contained in internal.h 2018-09-20 10:16:39 +02:00
eventtest.c util: remove some no-op thread functions 2019-09-19 12:50:21 +01:00
fchosttest.c tests: Add lib- prefix to all mocks 2019-08-23 11:26:26 +01:00
fdstreamtest.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
file_access_whitelist.txt check-file-access: Allow specifying action 2018-08-15 10:15:29 +02:00
genericxml2xmltest.c conf: Add support for emulatorsched 2019-04-16 13:46:17 +02:00
group-qemu-caps.pl Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
interfacexml2xmltest.c src: More cleanup of some system headers already contained in internal.h 2018-09-20 10:16:39 +02:00
libvirtd-fail Forget last daemon/ dir artefacts 2018-07-27 15:44:38 +02:00
libvirtd-pool
libxlmock.c tests: Rename virmocklibxl.c -> libxlmock.c 2019-02-11 17:40:44 -05:00
libxlxml2domconfigtest.c tests: Add lib- prefix to all mocks 2019-08-23 11:26:26 +01:00
lxcconf2xmltest.c tests: Adding test case to include multiple network definitions. 2018-12-11 15:03:08 -05:00
lxcxml2xmltest.c src: More cleanup of some system headers already contained in internal.h 2018-09-20 10:16:39 +02:00
metadatatest.c conf: fix title and description for virDomainSetMetadata API 2019-03-08 14:59:20 +01:00
networkxml2conftest.c network: wire up dnsmasq option xmlns 2019-07-17 17:18:56 -04:00
networkxml2firewalltest.c conf: Add network xmlopt argument 2019-07-17 17:18:56 -04:00
networkxml2xmltest.c network: wire up dnsmasq option xmlns 2019-07-17 17:18:56 -04:00
networkxml2xmlupdatetest.c conf: Add network xmlopt argument 2019-07-17 17:18:56 -04:00
nodedevxml2xmltest.c src: More cleanup of some system headers already contained in internal.h 2018-09-20 10:16:39 +02:00
nsslinktest.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
nssmock.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
nsstest.c tests: Add lib- prefix to all mocks 2019-08-23 11:26:26 +01:00
nwfilterebiptablestest.c Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
nwfilterxml2firewalltest.c tests: Stop looking for abs_top_srcdir in the environment 2019-03-14 10:05:25 +01:00
nwfilterxml2xmltest.c src: More cleanup of some system headers already contained in internal.h 2018-09-20 10:16:39 +02:00
objecteventtest.c Revert "Include unistd.h directly by files using it" 2019-04-10 12:26:32 +02:00
objectlocking.ml Drop UML driver 2018-12-17 17:52:46 +01:00
openvzutilstest.c src: More cleanup of some system headers already contained in internal.h 2018-09-20 10:16:39 +02:00
openvzutilstest.conf
pkix_asn1_tab.c
qemuagenttest.c util: remove some no-op thread functions 2019-09-19 12:50:21 +01:00
qemublocktest.c qemu: block: Explicitly specify backingStore when creating format layer props 2019-09-06 08:12:21 +02:00
qemucapabilitiestest.c util: remove some no-op thread functions 2019-09-19 12:50:21 +01:00
qemucaps2xmlmock.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
qemucaps2xmltest.c util: remove some no-op thread functions 2019-09-19 12:50:21 +01:00
qemucapsfixreplies tests: Fix qemucapsfixreplies 2018-06-19 14:01:14 +02:00
qemucapsprobe.c util: remove some no-op thread functions 2019-09-19 12:50:21 +01:00
qemucapsprobemock.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
qemucommandutiltest.c Revert "Switch from yajl to Jansson" 2018-08-13 15:50:01 +02:00
qemucpumock.c qemu: Make virQEMUCapsProbeHostCPUForEmulator more generic 2019-06-03 18:07:16 +02:00
qemudomaincheckpointxml2xmltest.c qemu: Pass correct qemuCaps to virDomainDefParseNode 2019-08-09 13:55:54 +02:00
qemudomainsnapshotxml2xmltest.c qemu: Pass correct qemuCaps to virDomainDefParseNode 2019-08-09 13:55:54 +02:00
qemufirmwaretest.c qemufirmwaretest: Test FW path getting through qemuFirmwareGetSupported() 2019-09-12 12:33:19 +02:00
qemuhotplugtest.c util: remove some no-op thread functions 2019-09-19 12:50:21 +01:00
qemumemlocktest.c tests: Add lib- prefix to all mocks 2019-08-23 11:26:26 +01:00
qemumigparamstest.c util: remove some no-op thread functions 2019-09-19 12:50:21 +01:00
qemumonitorjsontest.c tests: qemumonitor: Add testing for the 'transaction' command and generators 2019-09-30 13:12:56 +02:00
qemumonitortestutils.c qemu: Fix @vm locking issue when connecting to the monitor 2019-10-09 10:32:13 +02:00
qemumonitortestutils.h tests: use #pragma once in headers 2019-06-19 17:12:34 +02:00
qemusecuritymock.c security_util: Remove stale XATTRs 2019-08-22 17:05:17 +02:00
qemusecuritytest.c security: Don't remember owner for shared resources 2019-07-03 08:36:04 +02:00
qemusecuritytest.h qemusecuritymock: Allow some paths to be not restored 2019-07-03 08:36:04 +02:00
qemuvhostusertest.c qemu: add vhost-user helpers 2019-09-24 13:19:08 -04:00
qemuxml2argvmock.c qemu: support unmanaged target tap dev for <interface type='ethernet'> 2019-09-09 14:38:01 -04:00
qemuxml2argvtest.c tests: qemuxml2argv: Make use of versioned cpu-tsc-frequency and cpu-host-model-cmt tests 2019-10-07 13:46:38 +02:00
qemuxml2xmltest.c conf: new "managed" attribute for target dev of <interface type='ethernet'> 2019-09-09 14:35:54 -04:00
scsihosttest.c Revert "Include unistd.h directly by files using it" 2019-04-10 12:26:32 +02:00
seclabeltest.c util: remove some no-op thread functions 2019-09-19 12:50:21 +01:00
secretxml2xmltest.c secret: Add support for usage type vTPM, extend schema and test case 2019-07-26 09:59:27 +01:00
securityselinuxhelper.c src: More cleanup of some system headers already contained in internal.h 2018-09-20 10:16:39 +02:00
securityselinuxlabeltest.c tests: Always put '\n' at the end of VIR_TEST_VERBOSE 2019-08-27 15:56:17 +02:00
securityselinuxtest.c Revert "security_manager: Load lock plugin on init" 2018-11-16 13:42:39 +01:00
shunloadhelper.c src: More cleanup of some system headers already contained in internal.h 2018-09-20 10:16:39 +02:00
shunloadtest.c src: More cleanup of some system headers already contained in internal.h 2018-09-20 10:16:39 +02:00
sockettest.c tests: Avoid IPv4-translated IPv6 address in sockettest 2019-08-23 11:26:26 +01:00
ssh.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
storagebackendsheepdogtest.c tests: Use VIR_AUTOFREE for various storage tests 2019-02-12 08:51:23 -05:00
storagepoolcapstest.c tests: use VIR_AUTOUNREF in storagepoolcapstest 2019-03-07 12:12:11 +01:00
storagepoolxml2argvtest.c tests: Always put a '\n' after each debug print 2019-08-27 15:49:48 +02:00
storagepoolxml2xmltest.c conf: storage: also sanitize source dir 2019-06-25 17:11:56 +02:00
storagevolxml2argvtest.c tests: Use VIR_AUTOFREE for various storage tests 2019-02-12 08:51:23 -05:00
storagevolxml2xmltest.c tests: Use VIR_AUTOFREE for various storage tests 2019-02-12 08:51:23 -05:00
sysinfotest.c virsysinfo: Rename virSysinfoReadX86 to virSysinfoReadDMI 2019-06-03 17:51:12 +02:00
test-lib.sh build: drop the mktempd gnulib module 2019-10-07 11:34:24 +01:00
test-wrap-argv.pl
testutils.c util: remove some no-op thread functions 2019-09-19 12:50:21 +01:00
testutils.h util: purge all code for testing OOM handling 2019-09-13 10:05:17 +01:00
testutilshostcpus.h tests: use #pragma once in headers 2019-06-19 17:12:34 +02:00
testutilslxc.c src: More cleanup of some system headers already contained in internal.h 2018-09-20 10:16:39 +02:00
testutilslxc.h tests: use #pragma once in headers 2019-06-19 17:12:34 +02:00
testutilsqemu.c tests: Always put '\n' at the end of VIR_TEST_VERBOSE 2019-08-27 15:56:17 +02:00
testutilsqemu.h tests: add slirp-helper qemuxml2argv test 2019-09-06 12:47:47 +02:00
testutilsqemuschema.c tests: Always put '\n' at the end of VIR_TEST_VERBOSE 2019-08-27 15:56:17 +02:00
testutilsqemuschema.h tests: use #pragma once in headers 2019-06-19 17:12:34 +02:00
testutilsxen.c xenconfig: add support for type="pvh" 2018-11-26 16:38:26 -07:00
testutilsxen.h tests: use #pragma once in headers 2019-06-19 17:12:34 +02:00
utiltest.c tests: Always put a '\n' after each debug print 2019-08-27 15:49:48 +02:00
vboxsnapshotxmltest.c Revert "Include unistd.h directly by files using it" 2019-04-10 12:26:32 +02:00
viralloctest.c
viratomictest.c util: remove some no-op thread functions 2019-09-19 12:50:21 +01:00
virauthconfigtest.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
virbitmaptest.c util: Introduce virBitmapUnion() 2019-06-04 09:29:35 +02:00
virbuftest.c tests: Always put a '\n' after each debug print 2019-08-27 15:49:48 +02:00
vircaps2xmltest.c tests: Add lib- prefix to all mocks 2019-08-23 11:26:26 +01:00
vircapstest.c src: More cleanup of some system headers already contained in internal.h 2018-09-20 10:16:39 +02:00
vircgroupmock.c util: Don't include 'viralloc.h' into other header files 2019-04-10 09:12:04 +02:00
vircgrouptest.c tests: Add lib- prefix to all mocks 2019-08-23 11:26:26 +01:00
virconftest.c lib: Define and use autofree for virConfPtr 2019-09-10 09:34:37 +02:00
vircryptotest.c tests: Add lib- prefix to all mocks 2019-08-23 11:26:26 +01:00
virdbusmock.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
virdbustest.c Enforce a standard header file guard symbol name 2018-12-14 10:47:13 +00:00
virdeterministichashmock.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
virdrivermoduletest.c Drop UML driver 2018-12-17 17:52:46 +01:00
virendiantest.c
virerrortest.c tests: Always put '\n' at the end of VIR_TEST_VERBOSE 2019-08-27 15:56:17 +02:00
virfilecachemock.c
virfilecachetest.c tests: Add lib- prefix to all mocks 2019-08-23 11:26:26 +01:00
virfilemock.c virfile: Add Quobyte as a shared fs 2019-07-19 10:52:06 +02:00
virfiletest.c tests: Add lib- prefix to all mocks 2019-08-23 11:26:26 +01:00
virfilewrapper.c tests: mock execv/execve 2019-09-24 13:19:09 -04:00
virfilewrapper.h tests: use #pragma once in headers 2019-06-19 17:12:34 +02:00
virfirewalltest.c util: purge all code for testing OOM handling 2019-09-13 10:05:17 +01:00
virhashdata.h tests: use #pragma once in headers 2019-06-19 17:12:34 +02:00
virhashtest.c virhashtest: Drop useless new line 2019-08-27 15:58:51 +02:00
virhostcpumock.c
virhostcputest.c tests: Always put a '\n' after each debug print 2019-08-27 15:49:48 +02:00
virhostdevtest.c virhostdevtest: Reset libvirt error on expected failure 2019-08-27 16:10:21 +02:00
viridentitytest.c util: sanitize return values for virIdentity getters 2019-09-16 11:25:34 +01:00
viriscsitest.c tests: Add lib- prefix to all mocks 2019-08-23 11:26:26 +01:00
virjsontest.c tests: Always put '\n' at the end of VIR_TEST_VERBOSE 2019-08-27 15:56:17 +02:00
virkeycodetest.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
virkeyfiletest.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
virkmodtest.c virkmodtest: Don't fail if modprobe doesn't exist 2019-02-14 18:03:10 +01:00
virlockspacetest.c Revert "Include unistd.h directly by files using it" 2019-04-10 12:26:32 +02:00
virlogtest.c tests: Always put a '\n' after each debug print 2019-08-27 15:49:48 +02:00
virmacmaptest.c tests: Add lib- prefix to all mocks 2019-08-23 11:26:26 +01:00
virmock.h tests: Lookup extended stat/lstat in mocks 2019-08-23 11:26:26 +01:00
virmockstathelpers.c tests: Avoid gnulib replacements in mocks 2019-08-23 11:26:26 +01:00
virnetdaemonmock.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
virnetdaemontest.c tests: Always put a '\n' after each debug print 2019-08-27 15:49:48 +02:00
virnetdevbandwidthmock.c tests: Add getuid() to virnetdevbandwidthmock 2019-07-09 15:01:54 +02:00
virnetdevbandwidthtest.c tests: Add lib- prefix to all mocks 2019-08-23 11:26:26 +01:00
virnetdevmock.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
virnetdevopenvswitchtest.c test: Introduce virnetdevopenvswitchtest 2019-07-16 13:42:39 +02:00
virnetdevtest.c tests: Add lib- prefix to all mocks 2019-08-23 11:26:26 +01:00
virnetmessagetest.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
virnetserverclientmock.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
virnetserverclienttest.c util: sanitize return values for virIdentity getters 2019-09-16 11:25:34 +01:00
virnetsockettest.c rpc: fix escaping of shell path for netcat binary 2019-10-01 12:57:07 +01:00
virnettlscontexttest.c tests: Add lib- prefix to all mocks 2019-08-23 11:26:26 +01:00
virnettlshelpers.c Revert "Include unistd.h directly by files using it" 2019-04-10 12:26:32 +02:00
virnettlshelpers.h tests: use #pragma once in headers 2019-06-19 17:12:34 +02:00
virnettlssessiontest.c tests: Add lib- prefix to all mocks 2019-08-23 11:26:26 +01:00
virnetworkportxml2xmltest.c conf: take advantage of VIR_AUTOPTR for virNetworkPortDefPtr 2019-09-26 21:38:48 -04:00
virnumamock.c virNumaGetHugePageInfo: Return page_avail and page_free as ULL 2018-04-24 11:02:28 +02:00
virnwfilterbindingxml2xmltest.c src: More cleanup of some system headers already contained in internal.h 2018-09-20 10:16:39 +02:00
virpcimock.c virpcimock.c: simplify getrealpath() usage 2019-09-09 16:44:24 +02:00
virpcitest.c tests: Always put a '\n' after each debug print 2019-08-27 15:49:48 +02:00
virpolkittest.c Revert "dbus: correctly build reply message" 2019-09-10 09:47:13 +02:00
virportallocatormock.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
virportallocatortest.c tests: Add lib- prefix to all mocks 2019-08-23 11:26:26 +01:00
virprocessmock.c tests: Add test case for QEMU pci-hostdev hotplug 2019-09-09 16:44:24 +02:00
virrandommock.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
virresctrltest.c tests: Always put a '\n' after each debug print 2019-08-27 15:49:48 +02:00
virrotatingfiletest.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
virschematest.c nwfilter: move standard XML configs out of examples dir 2019-08-19 11:52:44 +01:00
virscsitest.c Revert "Include unistd.h directly by files using it" 2019-04-10 12:26:32 +02:00
virsh-checkpoint tests: Fix virsh-snapshot/checkpoint without readline-devel 2019-08-02 09:44:41 -05:00
virsh-cpuset
virsh-define-dev-segfault
virsh-int-overflow
virsh-optparse tests: virsh-optparse: Drop obsolete cpu-stats test cases 2019-07-29 15:56:46 +02:00
virsh-read-bufsiz
virsh-read-non-seekable
virsh-schedinfo
virsh-self-test
virsh-snapshot tests: Fix virsh-snapshot/checkpoint without readline-devel 2019-08-02 09:44:41 -05:00
virsh-start
virsh-undefine virsh: Fix regression with duplicated error messages 2018-10-12 09:30:56 -05:00
virsh-uriprecedence tests: Avoid writing into $HOME during virsh-snapshot 2019-04-04 09:35:40 -05:00
virsh-vcpupin
virshtest.c virsh: Treat any command name starting with # as comment 2019-03-25 09:01:53 -05:00
virstoragetest.c util: storagefile: Flag backing store strings with authentication 2019-08-26 13:49:17 +02:00
virstorageutiltest.c tests: Use VIR_AUTOFREE for various storage tests 2019-02-12 08:51:23 -05:00
virstringtest.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
virsystemdtest.c tests: Add lib- prefix to all mocks 2019-08-23 11:26:26 +01:00
virt-aa-helper-test virt-aa-helper: generate rules for gl enabled graphics devices 2019-01-23 07:54:58 +01:00
virt-admin-self-test
virtestmock.c virtestmock: Initialize symbols from stat() and its friends 2019-05-07 11:01:14 +02:00
virtimetest.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
virtypedparamtest.c internal: Move <stdio.h> include to internal.h 2018-09-20 10:16:38 +02:00
viruritest.c tests: viruri: Add test for password in URI userinfo 2019-08-26 13:49:16 +02:00
virusbmock.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
virusbtest.c tests: Add lib- prefix to all mocks 2019-08-23 11:26:26 +01:00
vmwarevertest.c src: More cleanup of some system headers already contained in internal.h 2018-09-20 10:16:39 +02:00
vmx2xmltest.c vmx: convert firmware config for autoselection 2019-04-15 20:03:55 -04:00
vshtabletest.c vsh-table: allow empty columns 2019-02-12 10:14:53 +01:00
xlconfigtest.c lib: Define and use autofree for virConfPtr 2019-09-10 09:34:37 +02:00
xmconfigtest.c lib: Define and use autofree for virConfPtr 2019-09-10 09:34:37 +02:00
xml2vmxtest.c vmx: write firmware back from autoselection 2019-04-15 20:03:55 -04:00