[libvirt] [PATCH 0/4] qemu: Don't leave temp mount dirs around

Michal Privoznik mprivozn at redhat.com
Fri Jan 6 10:30:39 UTC 2017


After yesterday's patches [1] and fixing BZ [2] with them, the comment 4 got me
thinking: why leave /var/run/libvirt/$domain.pts and similar temporary
directories around? We need them just for a very short time. After that we
might as well remove them.

1: https://www.redhat.com/archives/libvir-list/2017-January/msg00073.html
2: https://bugzilla.redhat.com/show_bug.cgi?id=1406837

Michal Privoznik (4):
  qemuDomainCreateNamespace: s/unlink/rmdir/
  qemuDomainGetPreservedMounts: Do not special case /dev
  qemuDomainCreateNamespace: move mkdir to qemuDomainBuildNamespace
  qemu: Drop qemuDomainDeleteNamespace

 src/qemu/qemu_domain.c  | 126 +++++++++++++-----------------------------------
 src/qemu/qemu_domain.h  |   3 --
 src/qemu/qemu_process.c |   2 -
 3 files changed, 34 insertions(+), 97 deletions(-)

-- 
2.11.0




More information about the libvir-list mailing list