qemu: process: SEV: Relabel guest owner's SEV files created before start
qemu: process: SEV: Relabel guest owner's SEV files created before start

Before launching a SEV guest we take the base64-encoded guest owner's
data specified in launchSecurity and create files with the same content
under /var/lib/libvirt/qemu/<domain>. The reason for this is that we
need to pass these files on to QEMU which then uses them to communicate
with the SEV firmware, except when it doesn't have permissions to open
those files since we don't relabel them.

https://bugzilla.redhat.com/show_bug.cgi?id=1658112

Signed-off-by: Erik Skultety <2c14d38fa47c8799f1b9c16280abe27f8edfec6e@redhat.com>
Acked-by: Michal Privoznik <83d82aaba2eed257f4814b0c239c260c4caaadf0@redhat.com>

jardasgit/libvirt,andreabolognani/libvirt,jfehlig/libvirt,jardasgit/libvirt,olafhering/libvirt,crobinso/libvirt,fabianfreyer/libvirt,nertpinx/libvirt,crobinso/libvirt,olafhering/libvirt,libvirt/libvirt,eskultety/libvirt,eskultety/libvirt,fabianfreyer/libvirt,olafhering/libvirt,fabianfreyer/libvirt,zippy2/libvirt,zippy2/libvirt,andreabolognani/libvirt,jfehlig/libvirt,libvirt/libvirt,zippy2/libvirt,fabianfreyer/libvirt,libvirt/libvirt,andreabolognani/libvirt,jfehlig/libvirt,jardasgit/libvirt,andreabolognani/libvirt,nertpinx/libvirt,libvirt/libvirt,olafhering/libvirt,andreabolognani/libvirt,nertpinx/libvirt,nertpinx/libvirt,zippy2/libvirt,jfehlig/libvirt,nertpinx/libvirt,fabianfreyer/libvirt,crobinso/libvirt,eskultety/libvirt,jardasgit/libvirt,jardasgit/libvirt,crobinso/libvirt,eskultety/libvirt,eskultety/libvirt