30 lines
1.1 KiB
Diff
30 lines
1.1 KiB
Diff
|
commit eaa2043dee8b8ada7b0b80c9b5b0b0db575a4abf
|
||
|
Author: Daniel P. Berrange <berrange@redhat.com>
|
||
|
Date: Wed Jan 18 10:49:59 2017 +0000
|
||
|
|
||
|
Disable use of namespaces by default
|
||
|
|
||
|
When namespaces are enabled there is currently breakage when
|
||
|
using disk hotplug and when using AppArmor
|
||
|
|
||
|
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
|
||
|
|
||
|
Index: libvirt-3.0.0/src/qemu/qemu_conf.c
|
||
|
===================================================================
|
||
|
--- libvirt-3.0.0.orig/src/qemu/qemu_conf.c
|
||
|
+++ libvirt-3.0.0/src/qemu/qemu_conf.c
|
||
|
@@ -317,13 +317,6 @@ virQEMUDriverConfigPtr virQEMUDriverConf
|
||
|
if (!(cfg->namespaces = virBitmapNew(QEMU_DOMAIN_NS_LAST)))
|
||
|
goto error;
|
||
|
|
||
|
-#if defined(__linux__)
|
||
|
- if (privileged &&
|
||
|
- virProcessNamespaceAvailable(VIR_PROCESS_NAMESPACE_MNT) == 0 &&
|
||
|
- virBitmapSetBit(cfg->namespaces, QEMU_DOMAIN_NS_MOUNT) < 0)
|
||
|
- goto error;
|
||
|
-#endif /* defined(__linux__) */
|
||
|
-
|
||
|
#ifdef DEFAULT_LOADER_NVRAM
|
||
|
if (virFirmwareParseList(DEFAULT_LOADER_NVRAM,
|
||
|
&cfg->firmwares,
|