[PATCH v8 17/18] conf: Use resrc=tpm in case of TPM passthrough following docs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <stefanb@xxxxxxxxxxxxxxxxxx>
---
 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 fdb0061afe..77e9cc5b90 100644
--- a/src/conf/domain_audit.c
+++ b/src/conf/domain_audit.c
@@ -584,7 +584,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:
-- 
2.14.3

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux