14a390fa2a
- Update to libvirt 3.0.0 - Many incremental improvements and bug fixes, see http://libvirt.org/news.html - Add b018ada3-shunloadtest-build-fix.patch to fix 'make check' failures - Add qemu-disable-namespaces.patch to temporarily disable qemu namespace feature until all issues are resolved OBS-URL: https://build.opensuse.org/request/show/451473 OBS-URL: https://build.opensuse.org/package/show/Virtualization/libvirt?expand=0&rev=578
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,
|