Re: [libvirt] [PATCH v3 08/21] qemu: Spawn qemu under mount namespace

2016-12-15 Thread Michal Privoznik
On 14.12.2016 18:02, Daniel P. Berrange wrote: > On Mon, Dec 12, 2016 at 05:52:54PM +0100, Michal Privoznik wrote: >> Prime time. When it comes to spawning qemu process and >> relabelling all the devices it's going to touch, there's inherent >> race with other applications in the system (e.g. udev)

Re: [libvirt] [PATCH v3 08/21] qemu: Spawn qemu under mount namespace

2016-12-14 Thread Daniel P. Berrange
On Mon, Dec 12, 2016 at 05:52:54PM +0100, Michal Privoznik wrote: > Prime time. When it comes to spawning qemu process and > relabelling all the devices it's going to touch, there's inherent > race with other applications in the system (e.g. udev). Instead > of trying convincing udev to not touch l

[libvirt] [PATCH v3 08/21] qemu: Spawn qemu under mount namespace

2016-12-12 Thread Michal Privoznik
Prime time. When it comes to spawning qemu process and relabelling all the devices it's going to touch, there's inherent race with other applications in the system (e.g. udev). Instead of trying convincing udev to not touch libvirt managed devices, we can create a separate mount namespace for the q