RE: [PATCH] Fix race condition when detaching a device

2022-10-05 Thread Pierre Libeau
De : Pierre Libeau Envoyé : mercredi 31 août 2022 14:22:51 À : libvir-list@redhat.com Cc : Pierre Libeau Objet : [PATCH] Fix race condition when detaching a device Qemu reply to libvirt "DeviceNotFound" and libvirt didn't clean on the side the live con

[PATCH] Fix race condition when detaching a device

2022-08-31 Thread Pierre LIBEAU
Qemu reply to libvirt "DeviceNotFound" and libvirt didn't clean on the side the live configuration. qemuMonitorDelDevice() return -2 to qemuDomainDeleteDevice() and during this action in qemuDomainDetachDeviceLive() the remove is never call. Ref #359 Signed-off-by: Pierre LIBEAU ---