[libvirt] [PATCH 2/5] qemuDomainCreateDeviceRecursive: pass a structure instead of bare path

2017-04-28 Thread Michal Privoznik
Currently, all we need to do in qemuDomainCreateDeviceRecursive() is to take given @device, get all kinds of info on it (major & minor numbers, owner, seclabels) and create its copy at a temporary location @path (usually /var/run/libvirt/qemu/$domName.dev), if @device live under /dev. This is, howe

Re: [libvirt] [PATCH 2/5] qemuDomainCreateDeviceRecursive: pass a structure instead of bare path

2017-05-03 Thread Cedric Bosdonnat
On Fri, 2017-04-28 at 13:22 +0200, Michal Privoznik wrote: > Currently, all we need to do in qemuDomainCreateDeviceRecursive() is to > take given @device, get all kinds of info on it (major & minor numbers, > owner, seclabels) and create its copy at a temporary location @path > (usually /var/run/li