libvirt/src/qemu
Jiri Denemark 5f99821911 qemu_migration: Check for active domain after talking to remote daemon
Once we called qemuDomainObjEnterRemote to talk to the destination
daemon during a peer to peer migration, the vm lock is released and we
only hold an async job. If the source domain dies at this point the
monitor EOF callback is allowed to do its job and (among other things)
clear all private data irrelevant for stopped domain. Thus when we call
qemuDomainObjExitRemote, the domain may already be gone and we should
avoid touching runtime private data (such as current job info).

In other words after acquiring the lock in qemuDomainObjExitRemote, we
need to check the domain is still alive. Unless we're doing offline
migration.

https://bugzilla.redhat.com/show_bug.cgi?id=1589730

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
2018-07-02 11:53:21 +02:00
..
EVENTHANDLERS.txt qemu/doc: Fix function name for handling events 2017-06-13 09:43:42 +02:00
libvirtd_qemu.aug qemu: Extend qemu_conf with tpm-emulator support 2018-06-06 10:48:41 -04:00
Makefile.inc.am qemu: add qemu_monitor_priv.h to sources list 2018-06-12 10:16:41 +01:00
MIGRATION.txt
qemu_agent.c all: Replace virGetLastError with virGetLastErrorCode where we can 2018-06-05 18:44:05 +02:00
qemu_agent.h
qemu_alias.c qemu: alias: Rename qemuAliasFromDisk to qemuAliasDiskDriveFromDisk 2018-06-05 08:14:00 +02:00
qemu_alias.h qemu: alias: Rename qemuAliasFromDisk to qemuAliasDiskDriveFromDisk 2018-06-05 08:14:00 +02:00
qemu_block.c qemu: hotplug: Extract hotplug of TLS into qemuBlockStorageSourceAttachApply 2018-06-05 08:14:01 +02:00
qemu_block.h qemu: hotplug: Extract hotplug of TLS into qemuBlockStorageSourceAttachApply 2018-06-05 08:14:01 +02:00
qemu_blockjob.c events: remove qemuDomainEventQueue wrapper func 2018-06-13 08:42:58 +02:00
qemu_blockjob.h qemu: Remove parameter 'driver' from qemuBlockJobUpdate 2018-05-10 16:43:24 +02:00
qemu_capabilities.c qemu: Add capability for the HPT maxpagesize feature 2018-06-26 10:15:44 +02:00
qemu_capabilities.h qemu: Add capability for the HPT maxpagesize feature 2018-06-26 10:15:44 +02:00
qemu_capspriv.h qemu: Provide support to query the SEV capability 2018-06-12 09:51:59 +02:00
qemu_cgroup.c events: remove qemuDomainEventQueue wrapper func 2018-06-13 08:42:58 +02:00
qemu_cgroup.h qemu: Add swtpm to emulator cgroup 2018-06-06 10:48:41 -04:00
qemu_command.c qemu: Escape commas for qemuBuildSCSIiSCSIHostdevDrvStr 2018-06-26 11:04:38 -04:00
qemu_command.h qemu: ensure FDs passed to QEMU for chardevs have correct SELinux labels 2018-06-25 17:28:38 +01:00
qemu_conf.c qemu: fix uninitialised variable in virQEMUDriverConfigLoadFile 2018-06-12 10:08:41 +02:00
qemu_conf.h qemu: conf: Remove 'allow_disk_format_probing' config option 2018-06-08 09:26:37 +02:00
qemu_domain_address.c conf: introduce <vsock> element 2018-05-29 15:42:03 +02:00
qemu_domain_address.h qemu: Update qemuDomainFindSCSIControllerModel return 2018-01-31 11:32:04 -05:00
qemu_domain.c qemu_migration: Check for active domain after talking to remote daemon 2018-07-02 11:53:21 +02:00
qemu_domain.h qemu_migration: Check for active domain after talking to remote daemon 2018-07-02 11:53:21 +02:00
qemu_driver.c conf: Forbid device alias change on device-update 2018-06-27 16:43:09 +02:00
qemu_driver.h
qemu_extdevice.c qemu: Add swtpm to emulator cgroup 2018-06-06 10:48:41 -04:00
qemu_extdevice.h qemu: Add swtpm to emulator cgroup 2018-06-06 10:48:41 -04:00
qemu_hostdev.c qemu: hostdev: Move parts of qemuHostdevHostSupportsPassthroughVFIO() into separate function 2018-06-05 08:33:13 +02:00
qemu_hostdev.h
qemu_hotplug.c conf: Forbid device alias change on device-update 2018-06-27 16:43:09 +02:00
qemu_hotplug.h qemu: hotplug: Refactor 'secret' props formatting to qemuMonitorCreateObjectProps 2018-06-05 08:13:59 +02:00
qemu_hotplugpriv.h
qemu_interface.c nwfilter: convert virt drivers to use public API for nwfilter bindings 2018-06-26 18:17:23 +01:00
qemu_interface.h qemu: deprecate QEMU_CAPS_VHOST_NET 2018-04-16 15:00:26 +02:00
qemu_migration_cookie.c src: Drop most of #ifdef WITH_GNUTLS 2018-06-05 14:32:36 +02:00
qemu_migration_cookie.h qemu: Add support for sending capabilities in migration cookie 2018-04-17 10:46:23 +02:00
qemu_migration_params.c qemu: Fix domain resume after failed migration 2018-06-05 09:39:24 +02:00
qemu_migration_params.h qemu: Fix domain resume after failed migration 2018-06-05 09:39:24 +02:00
qemu_migration_paramspriv.h qemu: Move migration capabilities JSON formatting 2018-04-17 10:46:23 +02:00
qemu_migration.c qemu_migration: Check for active domain after talking to remote daemon 2018-07-02 11:53:21 +02:00
qemu_migration.h qemu: Replace qemuMigrationAnyCompressionDump 2018-04-17 10:46:23 +02:00
qemu_monitor_json.c qemu: monitor: Fix memory leak in qemuMonitorJSONNBDServerStart() 2018-06-25 19:41:40 +02:00
qemu_monitor_json.h qemu: Implement the driver backend for virDomainGetLaunchSecurityInfo 2018-06-12 10:00:49 +02:00
qemu_monitor_priv.h qemu: monitor: Add possibility to reset command sequence in tests 2018-06-12 10:27:49 +02:00
qemu_monitor_text.c qemu: monitor: Remove dead code from text monitor 2018-05-23 15:44:13 +02:00
qemu_monitor_text.h qemu: monitor: Remove dead code from text monitor 2018-05-23 15:44:13 +02:00
qemu_monitor.c qemu: fix msg could be a wild pointer in qemuMonitorIOProcess() 2018-06-22 10:40:59 +02:00
qemu_monitor.h qemu: Implement the driver backend for virDomainGetLaunchSecurityInfo 2018-06-12 10:00:49 +02:00
qemu_parse_command.c qemu/: Remove spaces after casts 2018-05-03 22:31:37 +02:00
qemu_parse_command.h qemu: Move qemuFreeKeywords into qemu_parse_command.c 2017-10-17 18:52:47 -04:00
qemu_process.c nwfilter: convert virt drivers to use public API for nwfilter bindings 2018-06-26 18:17:23 +01:00
qemu_process.h qemu: implement vsock hotplug 2018-06-05 07:51:13 +02:00
qemu_processpriv.h
qemu_qapi.c qemu: qapi: Return correct entry in virQEMUQAPISchemaTraverse 2018-03-23 14:52:07 +01:00
qemu_qapi.h qemu: monitor: Move processing of QMP schema to the new file 2018-03-23 14:52:07 +01:00
qemu_security.c security: Label the external swtpm with SELinux labels 2018-06-06 10:48:41 -04:00
qemu_security.h security: Label the external swtpm with SELinux labels 2018-06-06 10:48:41 -04:00
qemu_tpm.c qemu_tpm: Drop needles include of cap-ng.h 2018-06-07 08:32:11 +02:00
qemu_tpm.h qemu: Add swtpm to emulator cgroup 2018-06-06 10:48:41 -04:00
qemu.conf qemu/cgroup: Add /dev/sev in shared devices list 2018-06-12 10:00:49 +02:00
test_libvirtd_qemu.aug.in qemu/cgroup: Add /dev/sev in shared devices list 2018-06-12 10:00:49 +02:00
THREADS.txt qemu: Introduce APIs for manipulating qemuDomainAgentJob 2018-06-20 13:24:17 +02:00