FF,
I have not yet tried your package, just had a quick look over it.
It has been years since I tried to use Arch system qemu and ovmf (typo in your optdepends), and it would be delightful to find these just worked now...
When I did:
-
Xen could not use OVMF's code.fd and vars.fd separately. It would be very simple to split Arch's OVMF package to ship the unified file in another package. The Arch bug has been ignored for years https://bugs.archlinux.org/task/58635
-
QEMU seems to need to be built with Xen headers in place for Xen backend support Debian installs libxen-dev before building QEMU https://salsa.debian.org/qemu-team/qemu/-/blob/debian-unstable/debian/control-in https://salsa.debian.org/xen-team/debian-xen/-/blob/master/debian/control Xen uses --enable-xen for the in-tree copy https://xenbits.xen.org/gitweb/?p=xen.git;a=blob;f=tools/Makefile;h=c10946e3b15a5a14aa83e4bbfda759b3681692de;hb=HEAD#l241
It would be great to see this tested and packaged. Cheers
Pinned Comments
Refutationalist commented on 2025-03-12 12:06 (UTC) (edited on 2025-03-13 08:23 (UTC) by Refutationalist)
We've moved to the newly-stable 4.20.0 branch. There are also other changes:
If you're still using pygrub note that it is deprecated. The solution is to build PV grub instead, which used to be in AUR but is now missing. I am asking a couple questions on the mailing list, and I intend to put my current build of xen-grub (which supersedes xen-pvhgrub) on AUR as soon as possible. If you need to build it before that occurs, you can find it in my PKGBUILD repo.
EDIT: 4.20.0-2 adds support for the xen-edk2 package, which has a fixed UEFI for xen