]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: fd: Log information about passed file descriptor
authorPeter Krempa <pkrempa@redhat.com>
Mon, 19 May 2025 11:37:32 +0000 (13:37 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 20 May 2025 05:35:54 +0000 (07:35 +0200)
commitaeb1f77c0fed3cf5ea63a712a529a173ed884af9
tree455e6f90a9280b545b1bd46ec0dc71aa277c8d85
parentc8c3920e35d3c97970088a9840a252ffbb02f7e1
qemu: fd: Log information about passed file descriptor

Log information (type, label, etc) about FDs passed to qemu via APIs
from this module.

This does "spill" the selinux library code into this module, but
acessing it via the security driver would require passing much more
context to this module. Since it's for logging only it can be easily
removed if necessary.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_fd.c