Re: [libvirt] [PATCH 2/3] qemuDomainGetPreservedMounts: Prune nested mount points

2017-06-15 Thread Michal Privoznik
On 06/14/2017 09:52 PM, John Ferlan wrote: > > > On 06/12/2017 11:57 AM, Michal Privoznik wrote: >> https://bugzilla.redhat.com/show_bug.cgi?id=1431112 >> >> There can be nested mount points. For instance /dev/shm/blah can >> be a mount point and /dev/shm too. It doesn't make much sense to >>

Re: [libvirt] [PATCH 2/3] qemuDomainGetPreservedMounts: Prune nested mount points

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 > > There can be nested mount points. For instance /dev/shm/blah can > be a mount point and /dev/shm too. It doesn't make much sense to > return the former path because callers preserve the

[libvirt] [PATCH 2/3] qemuDomainGetPreservedMounts: Prune nested mount points

2017-06-12 Thread Michal Privoznik
https://bugzilla.redhat.com/show_bug.cgi?id=1431112 There can be nested mount points. For instance /dev/shm/blah can be a mount point and /dev/shm too. It doesn't make much sense to return the former path because callers preserve the latter (and with that the former too). Therefore prune nested