[PATCH v3 0/5] qemu_hotplug: Fix a rare race condition when detaching a device twice

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



v3 of:

https://www.redhat.com/archives/libvir-list/2019-March/msg00924.html

diff to v2:
- Dropped @enterMonitor from qemuDomainDeleteDevice,
- Simplified event checking since @vm is always locked after
@enterMonitor is dropped,
- Switched to plain qemuMonitorDelDevice for zpci device
- Added comment about error reporting to 3/5

Note that 3/5 was ACKed in v2.

Michal Prívozník (5):
  qemu_hotplug: Introduce and use qemuDomainDeleteDevice
  DO NOT APPLY: Simple reproducer
  qemuMonitorJSONDelDevice: Return -2 on DeviceNotFound error
  qemu_hotplug: Fix a rare race condition when detaching a device twice
  DO NOT APPLY: Revert simple reproducer

 src/qemu/qemu_domain.h       |   1 +
 src/qemu/qemu_hotplug.c      | 278 +++++++++++++++--------------------
 src/qemu/qemu_monitor.c      |  10 ++
 src/qemu/qemu_monitor_json.c |   5 +
 4 files changed, 134 insertions(+), 160 deletions(-)

-- 
2.19.2

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux