[libvirt] [PATCHv3 1/3] Fix vmdef usage after domain crash in monitor on device detach

Michal Privoznik mprivozn at redhat.com
Fri Jan 16 14:01:20 UTC 2015


On 14.01.2015 19:48, Ján Tomko wrote:
> https://bugzilla.redhat.com/show_bug.cgi?id=1161024
> 
> In the device type-specific functions, exit early
> if the domain has disappeared, because the cleanup
> should have been done by qemuProcessStop.
> 
> Check the return value in processDeviceDeletedEvent
> and qemuProcessUpdateDevices.
> 
> Fix vmdef usage after domain crash in monitor on device detach
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1161024
> 
> Skip audit and removing the device from live def because
> it has already been cleaned up.

The commit message seems mangled.

> ---
>  src/qemu/qemu_driver.c  |  3 +-
>  src/qemu/qemu_hotplug.c | 91 ++++++++++++++++++++++++++++++-------------------
>  src/qemu/qemu_hotplug.h |  6 ++--
>  src/qemu/qemu_process.c |  6 ++--
>  4 files changed, 65 insertions(+), 41 deletions(-)
> 

Michal




More information about the libvir-list mailing list