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

Michal Privoznik posted 5 patches 5 years, 1 month ago
Test syntax-check passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1552565982.git.mprivozn@redhat.com
There is a newer version of this series
src/qemu/qemu_domain.h       |   1 +
src/qemu/qemu_hotplug.c      | 326 ++++++++++++++++-------------------
src/qemu/qemu_monitor.c      |  10 ++
src/qemu/qemu_monitor_json.c |   5 +
4 files changed, 167 insertions(+), 175 deletions(-)
[libvirt] [PATCH v2 0/5] qemu_hotplug: Fix a rare race condition when detaching a device twice
Posted by Michal Privoznik 5 years, 1 month ago
v2 of:
https://www.redhat.com/archives/libvir-list/2019-March/msg00753.html

diff to v1:
- qemuDomainDeleteDevice now can do enter/exit monitor
- qemuMonitorDelDevice doesn't report error on DeviceNotFound
- On DeviceNotFound the caller is made wait for event, if none came

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      | 326 ++++++++++++++++-------------------
 src/qemu/qemu_monitor.c      |  10 ++
 src/qemu/qemu_monitor_json.c |   5 +
 4 files changed, 167 insertions(+), 175 deletions(-)

-- 
2.19.2

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