From: Stefan Berger Date: Thu, 24 May 2018 14:53:05 +0000 (-0400) Subject: conf: Use resrc=tpm in case of TPM passthrough following docs X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=ac23367c10c9f3a2f0ef5dbd5f202b9281bd9ac3;p=libvirt.git conf: Use resrc=tpm in case of TPM passthrough following docs 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 --- 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: