Re: [PATCH 2/2] qemu: hotplug: Reset device removal waiting code after vCPU unplug

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

 



On Fri, Mar 03, 2017 at 16:11:50 +0100, Peter Krempa wrote:
> If the delivery of the DEVICE_DELETED event for the vCPU being deleted
> would time out, the code would not call 'qemuDomainResetDeviceRemoval'.
> 
> Since the waiting thread did not unregister itself prior to stopping the
> waiting the monitor code would try to wake it up instead of dispatching
> it to the event worker. As a result the unplug process would not be
> completed and the definition would not be updated.
> 
> Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1428893
>           https://bugzilla.redhat.com/show_bug.cgi?id=1427801
> ---
>  src/qemu/qemu_hotplug.c | 16 ++++++++++++----
>  1 file changed, 12 insertions(+), 4 deletions(-)

ACK

Jirka

--
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