]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: tpm: Introduce qemuTPMHasSharedStorage()
authorStefan Berger <stefanb@linux.ibm.com>
Mon, 24 Oct 2022 10:28:43 +0000 (06:28 -0400)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 9 Nov 2022 11:26:24 +0000 (12:26 +0100)
commit384138d7904030906e6a67cccc8ca89cdbac52b8
tree49d4c4540c366f249fdb49327411f9bdba4abcc5
parent1537c73da2e098e2ab74d82c77ba2eb154c83aec
qemu: tpm: Introduce qemuTPMHasSharedStorage()

New qemuTPMHasSharedStorage() function is introduced which
returns whether the swtpm state directory is on a shared
filesystem (e.g. NFS).

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_migration.c
src/qemu/qemu_tpm.c
src/qemu/qemu_tpm.h