]> xenbits.xensource.com Git - libvirt.git/commitdiff
virt-host-validate: Fix error level for user namespace check
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 25 Jan 2016 06:57:21 +0000 (07:57 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 25 Jan 2016 15:53:23 +0000 (16:53 +0100)
From the code it seems to me that we need user namespace if
configured in domain XML. Otherwise we don't use it at all.
However our tool is more strict about that. Fix this discrepancy.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
tools/virt-host-validate-lxc.c

index e604f837ddc8c78fffe803411365241a3aed3c7d..89a6388fbf95bff1e349b6a7ee7d8ff34c62dc2a 100644 (file)
@@ -59,7 +59,7 @@ int virHostValidateLXC(void)
         ret = -1;
 
     if (virHostValidateNamespace("LXC", "user",
-                                 VIR_HOST_VALIDATE_FAIL,
+                                 VIR_HOST_VALIDATE_WARN,
                                  _("User namespace support is recommended")) < 0)
         ret = -1;