1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2025-01-11 09:17:52 +03:00

virt-host-validate: Fix error level for user namespace check

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>
This commit is contained in:
Michal Privoznik 2016-01-25 07:57:21 +01:00
parent d55e11a302
commit 99f8fb4c55

View 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;