Arch Linux Gui or EndeavourOS

Have you installed uefi support and systemd service? I don’t use vm, but looking at the wiki may help.

sudo pacman -S edk2-ovm
sudo sytemctl enable --now libvirtd.service

Also a couple of recent threads in the forum about this, there may be a couple of solutions to fix it.

Edits: else perhaps vbox if you are using it or consider trying