[libvirt] [PATCH 3/3] qemuDomainGetPreservedMounts: Fix suffixes for corner cases

2017-06-12 Thread Michal Privoznik
https://bugzilla.redhat.com/show_bug.cgi?id=1431112 Imagine a FS mounted on /dev/blah/blah2. Our process of creating suffix for temporary location where all the mounted filesystems are moved is very simplistic. We want: /var/run/libvirt/qemu/$domName.$suffix\ were $suffix is just the mount point

Re: [libvirt] [PATCH 3/3] qemuDomainGetPreservedMounts: Fix suffixes for corner cases

2017-06-14 Thread John Ferlan
On 06/12/2017 11:57 AM, Michal Privoznik wrote: > https://bugzilla.redhat.com/show_bug.cgi?id=1431112 > > Imagine a FS mounted on /dev/blah/blah2. Our process of creating > suffix for temporary location where all the mounted filesystems > are moved is very simplistic. We want: > > /var/run/libv

Re: [libvirt] [PATCH 3/3] qemuDomainGetPreservedMounts: Fix suffixes for corner cases

2017-06-15 Thread Michal Privoznik
On 06/14/2017 09:58 PM, John Ferlan wrote: > > > On 06/12/2017 11:57 AM, Michal Privoznik wrote: >> https://bugzilla.redhat.com/show_bug.cgi?id=1431112 >> >> Imagine a FS mounted on /dev/blah/blah2. Our process of creating >> suffix for temporary location where all the mounted filesystems >> are

Re: [libvirt] [PATCH 3/3] qemuDomainGetPreservedMounts: Fix suffixes for corner cases

2017-06-15 Thread John Ferlan
On 06/15/2017 04:53 AM, Michal Privoznik wrote: > On 06/14/2017 09:58 PM, John Ferlan wrote: >> >> >> On 06/12/2017 11:57 AM, Michal Privoznik wrote: >>> https://bugzilla.redhat.com/show_bug.cgi?id=1431112 >>> >>> Imagine a FS mounted on /dev/blah/blah2. Our process of creating >>> suffix for tem