mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-12 22:51:29 +00:00
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>
This commit is contained in:
parent
aee1e1feac
commit
ec9c065d40
@ -317,13 +317,6 @@ virQEMUDriverConfigPtr virQEMUDriverConfigNew(bool privileged)
|
|||||||
if (!(cfg->namespaces = virBitmapNew(QEMU_DOMAIN_NS_LAST)))
|
if (!(cfg->namespaces = virBitmapNew(QEMU_DOMAIN_NS_LAST)))
|
||||||
goto error;
|
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
|
#ifdef DEFAULT_LOADER_NVRAM
|
||||||
if (virFirmwareParseList(DEFAULT_LOADER_NVRAM,
|
if (virFirmwareParseList(DEFAULT_LOADER_NVRAM,
|
||||||
&cfg->firmwares,
|
&cfg->firmwares,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user