]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virt-aa-helper: Set label on VIRTIO_PMEM device too
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 26 Jul 2023 10:36:08 +0000 (12:36 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 24 Aug 2023 10:39:09 +0000 (12:39 +0200)
commitf9dcf98bbddaf8921afd5f0bc804d231cfc1b80c
tree050f45e555a46ef862cd20e9cd73f66a96e13878
parent109ae46e4ac35d01db33f610c15273f80c6d0be6
virt-aa-helper: Set label on VIRTIO_PMEM device too

Conceptually, from host POV there's no difference between NVDIMM
and VIRTIO_PMEM. Both expose a file to the guest (which is used
as a permanent storage). Other secdriver treat NVDIMM and
VIRTIO_PMEM the same. Thus, modify virt-aa-helper so that is
appends virtio-pmem backing path into the domain profile too.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/security/virt-aa-helper.c