[libvirt] [PATCH 0/5] qemu: Couple of namespace fixes

Michal Privoznik mprivozn at redhat.com
Fri Apr 28 11:22:09 UTC 2017


It was brought to my attention on IRC by Cedric that there's a bug in our
namespace code. Namely, if a disk has say /dev/shm/blah source. For more
detailed description see the first patch. The rest is just subsequent fixes.

Michal Privoznik (5):
  qemuDomainBuildNamespace: Move /dev/* mountpoints later
  qemuDomainCreateDeviceRecursive: pass a structure instead of bare path
  qemuDomainCreateDeviceRecursive: Don't try to create devices under
    preserved mount points
  qemuDomainAttachDeviceMknodRecursive: Don't try to create devices
    under preserved mount points
  qemuDomainDetachDeviceUnlink: Don't unlink files we haven't created

 src/qemu/qemu_domain.c | 373 ++++++++++++++++++++++++++++++++++++-------------
 1 file changed, 275 insertions(+), 98 deletions(-)

-- 
2.10.2




More information about the libvir-list mailing list