So, to allow a linux vm to access a directory from Fedora host with virtio-9p, I'll need to run:
# semanage fcontext -a -t svirt_home_t "/some/dir"
# restorecon -vR /some/dir
Idk why sealert offers this non-working solution instead. It's really weird.:
# semanage fcontext -a -t virt_image_t 'dir'
# restorecon -v 'dir'
#fedora #linux #selinux #qemu #kvm #vm #virtualmachines #9p #virtio #fedora42 #virtmanager