Re: [PATCH] qemu: Fix libvirt hang due to early TPM device stop

2021-02-19 Thread Daniel P . Berrangé
On Fri, Feb 19, 2021 at 09:49:36AM -0500, Stefan Berger wrote: > This patch partially reverts commit 5cde9dee where the qemuExtDevicesStop() > was moved to a location before the QEMU process is stopped. It may be > alright to tear down some devices before QEMU is stopped, but it doesn't work > for

[PATCH] qemu: Fix libvirt hang due to early TPM device stop

2021-02-19 Thread Stefan Berger
This patch partially reverts commit 5cde9dee where the qemuExtDevicesStop() was moved to a location before the QEMU process is stopped. It may be alright to tear down some devices before QEMU is stopped, but it doesn't work for the external TPM (swtpm) which assumes that QEMU sends it a signal to s