]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu_tpm: Extend start/stop APIs
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 2 Dec 2022 15:04:41 +0000 (16:04 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 5 Dec 2022 09:40:52 +0000 (10:40 +0100)
commit3c2e55c5ed375c6c1132cc5a224d29a2eadfb7ea
treedcd6433ef21113d5832e33c4b0d1b6e088c4894d
parentf3259f82fd53a499c24dce69b469ff8769c72909
qemu_tpm: Extend start/stop APIs

This is basically just a continuation of the previous commit.
Now that the security driver APIs have a boolean flag that
controls setting/restoring seclabel of either both TPM state and
log files, or just the log file, propagate this boolean into
those APIs that start/stop swtpm emulator. For now, just pass
true. The juicy bits are soon to come.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_security.c
src/qemu/qemu_security.h
src/qemu/qemu_tpm.c