[libvirt] [PATCH 01/11] qemuDomainAttachSCSIVHostDevice: Prefer qemuSecurity wrappers

2017-02-08 Thread Michal Privoznik
Since we have qemuSecurity wrappers over virSecurityManagerSetHostdevLabel and virSecurityManagerRestoreHostdevLabel we ought to use them instead of calling secdriver APIs directly. Signed-off-by: Michal Privoznik --- src/qemu/qemu_hotplug.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletio

Re: [libvirt] [PATCH 01/11] qemuDomainAttachSCSIVHostDevice: Prefer qemuSecurity wrappers

2017-02-08 Thread Peter Krempa
On Wed, Feb 08, 2017 at 11:37:04 +0100, Michal Privoznik wrote: > Since we have qemuSecurity wrappers over > virSecurityManagerSetHostdevLabel and > virSecurityManagerRestoreHostdevLabel we ought to use them > instead of calling secdriver APIs directly. Also it possibly would be worth mentioning t