Re: [PATCH] qemu: Do not keep swtmp pidfile around after stopping

2022-08-24 Thread Michal Prívozník
On 8/24/22 13:19, Michal Prívozník wrote: > On 8/23/22 16:19, Michal Prívozník wrote: >> On 8/18/22 16:20, Martin Kletzander wrote: >>> Just like the socket, remove the pidfile when TPM emulator is being >>> stopped. In >>> order to make this a bit cleaner, try to remove it even if swtpm_ioctl

Re: [PATCH] qemu: Do not keep swtmp pidfile around after stopping

2022-08-24 Thread Michal Prívozník
On 8/23/22 16:19, Michal Prívozník wrote: > On 8/18/22 16:20, Martin Kletzander wrote: >> Just like the socket, remove the pidfile when TPM emulator is being stopped. >> In >> order to make this a bit cleaner, try to remove it even if swtpm_ioctl does >> not >> exist. >> >> Signed-off-by:

Re: [PATCH] qemu: Do not keep swtmp pidfile around after stopping

2022-08-23 Thread Michal Prívozník
On 8/18/22 16:20, Martin Kletzander wrote: > Just like the socket, remove the pidfile when TPM emulator is being stopped. > In > order to make this a bit cleaner, try to remove it even if swtpm_ioctl does > not > exist. > > Signed-off-by: Martin Kletzander > --- > src/qemu/qemu_tpm.c | 31

Re: [PATCH] qemu: Do not keep swtmp pidfile around after stopping

2022-08-18 Thread Martin Kletzander
On Thu, Aug 18, 2022 at 04:20:56PM +0200, Martin Kletzander wrote: Just like the socket, remove the pidfile when TPM emulator is being stopped. In order to make this a bit cleaner, try to remove it even if swtpm_ioctl does not exist. Forgot to mention the BZ:

[PATCH] qemu: Do not keep swtmp pidfile around after stopping

2022-08-18 Thread Martin Kletzander
Just like the socket, remove the pidfile when TPM emulator is being stopped. In order to make this a bit cleaner, try to remove it even if swtpm_ioctl does not exist. Signed-off-by: Martin Kletzander --- src/qemu/qemu_tpm.c | 31 ++- 1 file changed, 14