Just like it's DAC counterpart is doing,
virSecuritySELinuxRestoreAllLabel() could print @migrated in the
debug message.
Signed-off-by: Michal Privoznik <mprivozn(a)redhat.com>
Reviewed-by: Cole Robinson <crobinso(a)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