Re: [libvirt] [PATCH v3] qemu: improve detection of UNIX path generated by libvirt

2017-05-16 Thread Martin Kletzander
On Fri, May 12, 2017 at 05:17:33PM +0200, Pavel Hrdina wrote: Currently we consider all UNIX paths with specific prefix as generated by libvirt, but that's a wrong assumption. Let's make the detection better by actually checking whether the whole path matches one of the paths that we generate or

[libvirt] [PATCH v3] qemu: improve detection of UNIX path generated by libvirt

2017-05-12 Thread Pavel Hrdina
Currently we consider all UNIX paths with specific prefix as generated by libvirt, but that's a wrong assumption. Let's make the detection better by actually checking whether the whole path matches one of the paths that we generate or generated in the past. The UNIX path isn't stored in config XM