From ac23367c10c9f3a2f0ef5dbd5f202b9281bd9ac3 Mon Sep 17 00:00:00 2001 From: Stefan Berger Date: Thu, 24 May 2018 10:53:05 -0400 Subject: [PATCH] conf: Use resrc=tpm in case of TPM passthrough following docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix the resrc field for the TPM passthrough case to show tpm. This fixes the code to follow the documentation. Signed-off-by: Stefan Berger Reviewed-by: Ján Tomko --- src/conf/domain_audit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conf/domain_audit.c b/src/conf/domain_audit.c index 8335938c29..d9be638f05 100644 --- a/src/conf/domain_audit.c +++ b/src/conf/domain_audit.c @@ -593,7 +593,7 @@ virDomainAuditTPM(virDomainObjPtr vm, virDomainTPMDefPtr tpm, } VIR_AUDIT(VIR_AUDIT_RECORD_RESOURCE, success, - "virt=%s resrc=dev reason=%s %s uuid=%s %s", + "virt=%s resrc=tpm reason=%s %s uuid=%s %s", virt, reason, vmname, uuidstr, device); break; case VIR_DOMAIN_TPM_TYPE_EMULATOR: -- GitLab