libvirt/src/qemu
Jiri Denemark 4670f1dd02 qemu: Finish device removal in the original thread
If QEMU supports DEVICE_DELETED event, we always call
qemuDomainRemoveDevice from the event handler. However, we will need to
push this call away from the main event loop and begin a job for it (see
the following commit), we need to make sure the device is fully removed
by the original thread (and within its existing job) in case the
DEVICE_DELETED event arrives before qemuDomainWaitForDeviceRemoval times
out.

Without this patch, device removals would be guaranteed to never finish
before the timeout because the could would be blocked by the original
job being still active.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
2014-06-02 16:47:36 +02:00
..
libvirtd_qemu.aug migration: add support for migrateURI configuration 2014-05-20 13:13:29 +02:00
MIGRATION.txt qemu: Implement migration job phases 2011-07-27 08:45:09 -06:00
qemu_agent.c avoid 'sync' as variable name 2014-05-19 18:40:02 +02:00
qemu_agent.h qemu: Implement virDomain{Get,Set}Time 2014-05-15 16:44:45 +02:00
qemu_capabilities.c qemu: Fix specifying char devs for PPC 2014-05-27 08:48:57 +02:00
qemu_capabilities.h Add support for timestamping QEMU logs 2014-05-07 10:27:50 +02:00
qemu_cgroup.c qemuSetupCgroupForVcpu: s/virProcessInfoSetAffinity/virProcessSetAffinity/ 2014-05-22 12:30:20 +02:00
qemu_cgroup.h Auto-detect existing cgroup placement 2013-07-23 22:46:31 +01:00
qemu_command.c qemu: fix <clock offset='variable' basis='localtime'/> 2014-05-26 13:59:32 +03:00
qemu_command.h qemu: extract common PCI handling functions 2014-05-13 20:17:54 +04:00
qemu_conf.c migration: add support for migrateURI configuration 2014-05-20 13:13:29 +02:00
qemu_conf.h migration: add support for migrateURI configuration 2014-05-20 13:13:29 +02:00
qemu_domain.c qemu: Avoid leak in qemuDomainCheckRemoveOptionalDisk 2014-05-15 14:45:26 +02:00
qemu_domain.h qemu: Make qemuDomainObjBeginNestedJob static 2014-05-14 13:26:59 +02:00
qemu_driver.c qemu: snapshot: Improve detection of mixed snapshots 2014-05-29 17:00:11 +02:00
qemu_driver.h Change file names in comments to match the files they are in 2014-03-10 14:26:04 +01:00
qemu_hostdev.c drivers: use virDirRead API 2014-04-28 17:52:45 -06:00
qemu_hostdev.h Capitalize USB, PCI and SCSI in hostdev methods 2014-03-12 16:20:01 +00:00
qemu_hotplug.c qemu: Finish device removal in the original thread 2014-06-02 16:47:36 +02:00
qemu_hotplug.h qemu: Finish device removal in the original thread 2014-06-02 16:47:36 +02:00
qemu_hotplugpriv.h qemu: Let tests override waiting time for device unplug 2013-08-26 16:09:55 +02:00
qemu_migration.c qemu: Properly abort migration to a file 2014-05-23 09:05:53 +02:00
qemu_migration.h libvirt support to force convergence of live guest migration 2014-03-21 14:17:15 +01:00
qemu_monitor_json.c Don't log an internal error when the guest hasn't updated balloon stats 2014-05-22 14:41:10 +02:00
qemu_monitor_json.h qemu: add support for virDomainCoreDumpWithFormat API 2014-03-24 14:14:14 -06:00
qemu_monitor_text.c qemu: specify domain in host-side PCI addresses when needed/supported 2014-05-06 14:34:56 +03:00
qemu_monitor_text.h qemu: Use bool instead of int in qemuMonitorSetCPU APIs 2013-06-07 15:57:03 +02:00
qemu_monitor.c qemu: Avoid overflow when setting migration speed 2014-04-14 13:42:48 +02:00
qemu_monitor.h qemu: add support for virDomainCoreDumpWithFormat API 2014-03-24 14:14:14 -06:00
qemu_process.c qemu: Finish device removal in the original thread 2014-06-02 16:47:36 +02:00
qemu_process.h util: use typedefs for enums in "src/util/" directory 2014-05-05 14:30:01 -06:00
qemu_processpriv.h qemu: Export qemuProcessHandleDeviceDeleted for tests 2013-08-26 16:09:55 +02:00
qemu.conf migration: add support for migrateURI configuration 2014-05-20 13:13:29 +02:00
test_libvirtd_qemu.aug.in migration: add support for migrateURI configuration 2014-05-20 13:13:29 +02:00
THREADS.txt Remove qemuDriverLock from almost everywhere 2013-02-13 11:10:30 +00:00