libvirt/src/qemu
Jiri Denemark bf15b145ec qemu: Pass qemuCaps to qemuMigrationCookieXMLParse
Since qemuDomainDefPostParse callback requires qemuCaps, we need to make
sure it gets the capabilities stored in the domain's private data if the
domain is running. Passing NULL may cause QEMU capabilities probing to
be triggered in case QEMU binary changed in the meantime. When this
happens while a running domain object is locked, QMP event delivered to
the domain before QEMU capabilities probing finishes will deadlock the
event loop.

This patch fixes all paths leading to qemuMigrationCookieXMLParse.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2019-08-09 13:55:54 +02:00
..
EVENTHANDLERS.txt
libvirtd_qemu.aug qemu: Add support for overriding max threads per process limit 2019-07-24 15:59:49 -06:00
Makefile.inc.am qemu: Move qemuParseKeywords(Free) to the monitor code 2019-06-20 12:15:05 +02:00
MIGRATION.txt
qemu_agent.c util: Move enum convertors into virenum.(c|h) 2019-04-10 09:12:04 +02:00
qemu_agent.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_alias.c Remove all Author(s): lines from source file headers 2018-12-13 16:08:38 +00:00
qemu_alias.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_block.c qemu: block: Use simple backing stores string format if possible 2019-07-25 13:21:32 +02:00
qemu_block.h qemu: block: Use simple backing stores string format if possible 2019-07-25 13:21:32 +02:00
qemu_blockjob.c qemu: Add -blockdev support for block commit job 2019-07-29 13:58:26 +02:00
qemu_blockjob.h qemu: Add -blockdev support for block commit job 2019-07-29 13:58:26 +02:00
qemu_capabilities.c qemu: conf: Cache domCaps in qemuCaps 2019-08-06 19:45:49 -04:00
qemu_capabilities.h qemu: conf: Cache domCaps in qemuCaps 2019-08-06 19:45:49 -04:00
qemu_capspriv.h qemu: Translate feature names from query-cpu-model-expansion 2019-06-20 00:22:39 +02:00
qemu_cgroup.c qemu: Add support for overriding max threads per process limit 2019-07-24 15:59:49 -06:00
qemu_cgroup.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_command.c util: simplify virCommand APIs for env passthrough. 2019-08-07 16:54:02 +01:00
qemu_command.h qemu: Add possibility to prepare top image only for attachment via blockdev 2019-07-25 13:21:32 +02:00
qemu_conf.c qemu: conf: Cache domCaps in qemuCaps 2019-08-06 19:45:49 -04:00
qemu_conf.h qemu: conf: add virQEMUDriverGetDomainCapabilities 2019-08-06 19:45:49 -04:00
qemu_domain_address.c qemu: address: remove useless comment 2019-07-16 17:00:36 +02:00
qemu_domain_address.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_domain.c qemu: Pass qemuCaps to qemuDomainDefFormatBufInternal 2019-08-09 13:55:54 +02:00
qemu_domain.h qemu: Pass qemuCaps to qemuDomainDefFormatBufInternal 2019-08-09 13:55:54 +02:00
qemu_driver.c qemu: Pass correct qemuCaps to virDomainDefParseString 2019-08-09 13:55:54 +02:00
qemu_driver.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_extdevice.c tpm: Run swtpm_setup with less parameters on incoming migration 2019-07-27 07:56:00 -04:00
qemu_extdevice.h tpm: Run swtpm_setup with less parameters on incoming migration 2019-07-27 07:56:00 -04:00
qemu_firmware.c util: get rid of virGetEnv{Allow,Block}SUID functions 2019-08-07 16:54:02 +01:00
qemu_firmware.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_hostdev.c qemu: De-duplicate some path definitions 2019-07-03 09:33:45 +02:00
qemu_hostdev.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_hotplug.c lib: Unify PCI address formatting 2019-08-05 19:42:15 +02:00
qemu_hotplug.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_hotplugpriv.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_interface.c Revert "virt drivers: don't handle type=network after resolving actual network type" 2019-04-30 14:42:22 +01:00
qemu_interface.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_migration_cookie.c qemu: Pass qemuCaps to qemuMigrationCookieXMLParse 2019-08-09 13:55:54 +02:00
qemu_migration_cookie.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_migration_params.c Always put _LAST enums on second line of VIR_ENUM_IMPL 2019-04-11 12:47:23 -04:00
qemu_migration_params.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_migration_paramspriv.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_migration.c qemu: Pass qemuCaps to qemuMigrationAnyPrepareDef 2019-08-09 13:55:54 +02:00
qemu_migration.h qemu: Pass qemuCaps to qemuMigrationAnyPrepareDef 2019-08-09 13:55:54 +02:00
qemu_monitor_json.c qemu: Remove unnecessary check in qemuMonitorJSONGetJobInfoOne 2019-07-23 10:55:56 -04:00
qemu_monitor_json.h qemu: monitor: Add APIs for 'blockdev-create' 2019-07-18 17:59:33 +02:00
qemu_monitor_priv.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_monitor_text.c qemu: Remove qemuMonitorTextSetCPU 2019-06-20 15:59:19 +02:00
qemu_monitor_text.h qemu: Remove qemuMonitorTextSetCPU 2019-06-20 15:59:19 +02:00
qemu_monitor.c qemu: driver: blockdevize qemuDomainGetBlockJobInfo 2019-07-25 13:21:32 +02:00
qemu_monitor.h qemu: monitor: Add APIs for 'blockdev-create' 2019-07-18 17:59:33 +02:00
qemu_process.c qemu: Pass qemuCaps to qemuDomainDefFormatBufInternal 2019-08-09 13:55:54 +02:00
qemu_process.h qemu: also delete qemuProcessAttach 2019-06-20 12:47:10 +02:00
qemu_processpriv.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_qapi.c qemu: qapi: Implement support for 'features' 2019-06-20 09:20:04 +02:00
qemu_qapi.h src/qemu: use #pragma once in headers 2019-06-19 17:12:30 +02:00
qemu_security.c tpm: Set transationStarted to false if commit failed 2019-07-26 16:32:25 -05:00
qemu_security.h qemu_security: Implement qemuSecurityMoveImageMetadata 2019-07-03 08:36:04 +02:00
qemu_tpm.c tpm: Run swtpm_setup with less parameters on incoming migration 2019-07-27 07:56:00 -04:00
qemu_tpm.h tpm: Run swtpm_setup with less parameters on incoming migration 2019-07-27 07:56:00 -04:00
qemu.conf qemu: Add support for overriding max threads per process limit 2019-07-24 15:59:49 -06:00
test_libvirtd_qemu.aug.in qemu: Add support for overriding max threads per process limit 2019-07-24 15:59:49 -06:00
THREADS.txt