[libvirt] [PATCH v2 21/21] qemu: Enable mount namespace
Michal Privoznik
mprivozn at redhat.com
Wed Dec 7 08:36:28 UTC 2016
Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
---
src/qemu/qemu_domain.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/qemu/qemu_domain.c b/src/qemu/qemu_domain.c
index 0308170e7..9769c11a5 100644
--- a/src/qemu/qemu_domain.c
+++ b/src/qemu/qemu_domain.c
@@ -7338,7 +7338,8 @@ qemuDomainCreateNamespace(virQEMUDriverPtr driver,
goto cleanup;
}
- /* Enabling of the mount namespace goes here. */
+ if (qemuDomainEnableNamespace(vm, QEMU_DOMAIN_NS_MOUNT) < 0)
+ goto cleanup;
ret = 0;
cleanup:
--
2.11.0
More information about the libvir-list
mailing list