Re: [PATCH 28/36] qemu: Prepare data for FD-passed disk image sources

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 05, 2023 at 05:30:17PM +0100, Peter Krempa wrote:
> When starting up a VM with FD-passed images we need to look up the
> corresponding named FD set and associate it with the virStorageSource
> based on the name.
> 
> The association is brought into virStorageSource as security labelling
> code will need to access the FD to perform selinux labelling.
> 
> Similarly when startup is complete in certain cases we no longer need to
> keep the copy of FDs and thus can close them.
> 
> Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
> ---
>  src/conf/storage_source_conf.c |  5 ++
>  src/conf/storage_source_conf.h |  2 +
>  src/qemu/qemu_domain.c         | 86 ++++++++++++++++++++++++++++++++++
>  src/qemu/qemu_domain.h         |  5 ++
>  src/qemu/qemu_hotplug.c        |  1 +
>  5 files changed, 99 insertions(+)

Reviewed-by: Pavel Hrdina <phrdina@xxxxxxxxxx>

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux