I can’t enable virtuaization in gnome boxes on Fedora 42 x86. I’m running gnome-checks to troubleshoot the problem but it responds with:
gnome-boxes --checks
• The CPU is capable of virtualization: yes
• The KVM module is loaded: yes
• Libvirt KVM guest available: yes
• Boxes storage pool available: yes
• The SELinux context is default: no
Your SELinux context looks incorrect, you can try to fix it by running:
restorecon -r `~/.config/gnome-boxes`...
Unfortunately, when I try to run restorecon -rv with the provided paths, I’m getting:
<file name> not reset as customized by admin to unconfined_u:object_r:svirt_image_t:s0:c449,c563
Of course, I can try to enforce the new context with restorecon -Fr, but gnome boxes or the OS resets it again before the next try.
Everything but SELinux context looks fine.
I have a similar output on F43 and it works as expected.
This looks like a false alarm you can safely ignore.