[libvirt] [PATCH v4 09/25] virSecuritySELinuxRestoreAllLabel: Print @migrated in the debug message too

Michal Privoznik mprivozn at redhat.com
Thu Apr 25 08:19:45 UTC 2019


Just like it's DAC counterpart is doing,
virSecuritySELinuxRestoreAllLabel() could print @migrated in the
debug message.

Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
Reviewed-by: Cole Robinson <crobinso at redhat.com>
---
 src/security/security_selinux.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/security/security_selinux.c b/src/security/security_selinux.c
index 094272e084..ec8d407351 100644
--- a/src/security/security_selinux.c
+++ b/src/security/security_selinux.c
@@ -2597,7 +2597,7 @@ virSecuritySELinuxRestoreAllLabel(virSecurityManagerPtr mgr,
     size_t i;
     int rc = 0;
 
-    VIR_DEBUG("Restoring security label on %s", def->name);
+    VIR_DEBUG("Restoring security label on %s migrated=%d", def->name, migrated);
 
     secdef = virDomainDefGetSecurityLabelDef(def, SECURITY_SELINUX_NAME);
 
-- 
2.21.0




More information about the libvir-list mailing list