[PATCH 00/10] Another set of qemu namespace fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The major problem was with symlinks. Imagine the following chain of symlinks:

/dev/my_awesome_disk -> /home/user/blaah -> /dev/disk/by-uuid/$uuid -> /dev/sda

We really need to create all those /dev/* symlinks and /dev/sda device. Also,
some other (less critical) bugs are fixed.

Michal Privoznik (10):
  virProcessRunInMountNamespace: Report errors from child
  util: Introduce virFileReadLink
  qemuDomainPrepareDisk: Fix ordering
  qemuSecurityRestoreAllLabel: Don't use transactions
  qemu_security: Use more transactions
  qemuDomain{Attach,Detach}Device NS helpers: Don't relabel devices
  qemuDomainCreateDevice: Properly deal with symlinks
  qemuDomainCreateDevice: Don't loop endlessly
  qemuDomainAttachDeviceMknod: Deal with symlinks
  qemuDomainAttachDeviceMknod: Don't loop endlessly

 src/libvirt_private.syms |   1 +
 src/qemu/qemu_domain.c   | 438 +++++++++++++++++++++++++++--------------------
 src/qemu/qemu_hotplug.c  |  20 +--
 src/qemu/qemu_security.c | 137 +++++++++------
 src/util/virfile.c       |  12 ++
 src/util/virfile.h       |   2 +
 src/util/virprocess.c    |   8 +-
 7 files changed, 374 insertions(+), 244 deletions(-)

-- 
2.11.0

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux