On Wed, Feb 08, 2017 at 11:37:13 +0100, Michal Privoznik wrote: > Just like we need wrappers over other virSecurityManager APIs, we > need one for virSecurityManagerSetImageLabel and > virSecurityManagerRestoreImageLabel. > > Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx> > --- > src/qemu/qemu_domain.c | 7 +++---- > src/qemu/qemu_security.c | 3 +++ > src/qemu/qemu_security.h | 8 ++++++++ > 3 files changed, 14 insertions(+), 4 deletions(-) > [...] > diff --git a/src/qemu/qemu_security.c b/src/qemu/qemu_security.c > index 06bff2470..131be6e4b 100644 > --- a/src/qemu/qemu_security.c > +++ b/src/qemu/qemu_security.c > @@ -95,5 +95,8 @@ qemuSecurityRestoreAllLabel(virQEMUDriverPtr driver, > WRAP1(SetDiskLabel, virDomainDiskDefPtr) > WRAP1(RestoreDiskLabel, virDomainDiskDefPtr) > > +WRAP1(SetImageLabel, virStorageSourcePtr) > +WRAP1(RestoreImageLabel, virStorageSourcePtr) > + > WRAP2(SetHostdevLabel, virDomainHostdevDefPtr) > WRAP2(RestoreHostdevLabel, virDomainHostdevDefPtr) Obviously NACK to this.
Attachment:
signature.asc
Description: Digital signature
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list