]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Move adding --tpmstate to swtpm command line into own function
authorStefan Berger <stefanb@linux.ibm.com>
Wed, 13 Nov 2024 17:39:50 +0000 (12:39 -0500)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 18 Nov 2024 07:46:44 +0000 (08:46 +0100)
commit957bda01c867a538dfbd720415bc600b681e7cbf
tree39f0e3bdd02169733ccbf975f4cbfc3e273198e4
parentfc9a333f37317965a41af4e8b6a8f522a56648f2
qemu: Move adding --tpmstate to swtpm command line into own function

Factor-out code related to adding the --tpmstate option to the swtpm
command line into its own function.

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