On Wed, Dec 21, 2022 at 08:43:53 +0100, Michal Privoznik wrote:
Now that we have qemuSecurityRestoreTPMLabels() we might as well
have qemuSecuritySetTPMLabels(). The aim here is to remove
qemuSecurityStartTPMEmulator() which couples two separate things
into a single function call.
Therefore, introduce qemuSecuritySetTPMLabels() which does only
set seclabels on the TPM state.
Signed-off-by: Michal Privoznik <mprivozn(a)redhat.com>
---
src/qemu/qemu_security.c | 26 ++++++++++++++++++++++++++
src/qemu/qemu_security.h | 4 ++++
2 files changed, 30 insertions(+)
Reviewed-by: Peter Krempa <pkrempa(a)redhat.com>