]> git.ipfire.org Git - thirdparty/libvirt.git/commit
util: Don't require full disk definition when getting imagelabels
authorPeter Krempa <pkrempa@redhat.com>
Wed, 18 Jun 2014 16:39:47 +0000 (18:39 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 20 Jun 2014 07:27:15 +0000 (09:27 +0200)
commit83c896c859c406404c511ed99f6c72fc0307d21f
tree61b02c843f5567528bd683730d0bc325e18d5be0
parent5aadf437502e209e45ed8aa2b4c915ae574a7265
util: Don't require full disk definition when getting imagelabels

The image labels are stored in the virStorageSource struct. Convert the
virDomainDiskDefGetSecurityLabelDef helper not to use the full disk def
and move it appropriately.
src/conf/domain_conf.c
src/conf/domain_conf.h
src/libvirt_private.syms
src/qemu/qemu_domain.c
src/security/security_dac.c
src/security/security_selinux.c
src/util/virstoragefile.c
src/util/virstoragefile.h