[libvirt PATCH] qemu: only stop external devices after the domain

Erik Skultety eskultet at redhat.com
Wed May 13 06:40:31 UTC 2020


On Tue, May 12, 2020 at 01:23:13PM +0200, Ján Tomko wrote:
> A failure in qemuProcessLaunch would lead to qemuExtStopDevices

qemuExtDevicesStop

> being called twice - once in the cleanup section and then again
> in qemuProcessStop.
> 
> However, the first one is called while the QEMU process is
> still running, which is too soon for the swtpm process, because
> the swtmp_ioctl command can lock up::
> 
>    https://bugzilla.redhat.com/show_bug.cgi?id=1822523
> 
> Remove the first call and only leave the one in qemuProcessStop,
> which is called after the QEMU process is killed.
> 
> Signed-off-by: Ján Tomko <jtomko at redhat.com>
> ---
Reviewed-by: Erik Skultety <eskultet at redhat.com>




More information about the libvir-list mailing list