]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Propagate shared_filesystems
authorAndrea Bolognani <abologna@redhat.com>
Fri, 2 Aug 2024 13:23:36 +0000 (15:23 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Thu, 3 Oct 2024 11:29:26 +0000 (13:29 +0200)
commit6952af8b438deeb8ee971bfec5ab3c9eb98229e2
tree9548e2655a9dd90cbdb1f32ca51625475bf81776
parentdf3597ee709ed30c3f4ce45a44ec2163d55399d1
qemu: Propagate shared_filesystems

virFileIsSharedFS() is the function that ultimately decides
whether a filesystem should be considered shared, but the list
of manually configured shared filesystems is part of the QEMU
driver's configuration, so we need to pass the information
through several layers in order to make use of it.

Note that with this change the list is propagated all the way
through, but its contents are still ignored, so the behavior
remains the same for now.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
21 files changed:
src/lxc/lxc_controller.c
src/lxc/lxc_driver.c
src/lxc/lxc_process.c
src/qemu/qemu_domain.c
src/qemu/qemu_extdevice.c
src/qemu/qemu_migration.c
src/qemu/qemu_security.c
src/qemu/qemu_tpm.c
src/qemu/qemu_tpm.h
src/security/security_apparmor.c
src/security/security_dac.c
src/security/security_driver.h
src/security/security_manager.c
src/security/security_manager.h
src/security/security_nop.c
src/security/security_selinux.c
src/security/security_stack.c
src/util/virfile.c
src/util/virfile.h
tests/securityselinuxlabeltest.c
tests/virfiletest.c