]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: explicit swtpm state locking
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 22 Oct 2024 14:15:21 +0000 (18:15 +0400)
committerMartin Kletzander <mkletzan@redhat.com>
Tue, 5 Nov 2024 14:25:53 +0000 (15:25 +0100)
commitbb5e26749fe5b5856a3541be2cbe147701e6e121
treed07a199d0b80f25adfa6d76efe5b580416935677
parentf1304cc566049272fa72b4fa6e825478248db999
qemu: explicit swtpm state locking

With upcoming v0.10 swtpm (commit
https://github.com/stefanberger/swtpm/commit/aa483aeb6df87ed56ccf3d5778d6fd8019089bda),
file locking with "lock" option is now supported and reflected in
"tpmstate-opt-lock" capability.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
src/qemu/qemu_tpm.c
src/util/virtpm.c
src/util/virtpm.h
tests/testutilsqemu.c