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

2021-02-19 Thread Michal Privoznik
On 2/19/21 4:57 PM, 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 the external TPM (swtpm)

[PATCH v2] 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