Re: [libvirt] [PATCH v5 09/20] tpm: Check whether previously found executables were updated

2019-07-24 Thread Stefan Berger
On 7/24/19 1:02 PM, Daniel P. Berrangé wrote: On Fri, Jul 12, 2019 at 12:23:43PM -0400, Stefan Berger wrote: for (i = 0; i < ARRAY_CARDINALITY(prgs); i++) { char *path; bool findit = *prgs[i].path == NULL; +struct stat statbuf; +char *tmp; + +if

Re: [libvirt] [PATCH v5 09/20] tpm: Check whether previously found executables were updated

2019-07-24 Thread Daniel P . Berrangé
On Fri, Jul 12, 2019 at 12:23:43PM -0400, Stefan Berger wrote: > Check whether previously found executables were updated and if > so look for them again. This helps to use updated features of > swtpm and its tools upon updating them. Hmm, so this answers some of my earlier questions. If we

[libvirt] [PATCH v5 09/20] tpm: Check whether previously found executables were updated

2019-07-12 Thread Stefan Berger
Check whether previously found executables were updated and if so look for them again. This helps to use updated features of swtpm and its tools upon updating them. Signed-off-by: Stefan Berger Reviewed-by: Marc-André Lureau --- src/qemu/qemu_tpm.c | 1 + src/util/virtpm.c | 34