[PATCH 3/7] qemu_security: Introduce qemuSecuritySetTPMLabels()
Peter Krempa
pkrempa at redhat.com
Tue Jan 3 12:51:27 UTC 2023
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 at redhat.com>
> ---
> src/qemu/qemu_security.c | 26 ++++++++++++++++++++++++++
> src/qemu/qemu_security.h | 4 ++++
> 2 files changed, 30 insertions(+)
Reviewed-by: Peter Krempa <pkrempa at redhat.com>
More information about the libvir-list
mailing list