Package Base Details: xen

Git Clone URL: (read-only, click to copy)
Keywords: hypervisor virtualization xen
Submitter: sergej
Maintainer: Refutationalist
Last Packager: Refutationalist
Votes: 185
Popularity: 1.78
First Submitted: 2009-11-09 11:22
Last Updated: 2021-04-15 09:43

Packages (2)

Pinned Comments

Refutationalist commented on 2021-04-15 09:56

1) 4.15.0-1 adds zstd kernel support, so the hook for that is no longer needed, but I'm not sure if ever made it out of my personal repo.

2) The -no-pie problem in linking is present in 4.15, and there's an included patch for that. It is now the only patch needed to compile cleanly on Arch.

3) As promised, stubdom has moved from building by default to not building by default, as no one has spoken up about using it. If I continue maintaining the package, the plan is to remove it in the next major release.

4) I haven't done anything about the SDL2 deps.

5) Unless a co-maintainer is added, this is likely going to be the last release for a few months as I'm going in for surgery to have a brain tumor removed next month.

Latest Comments

« First ‹ Previous ... 12 13 14 15 16 17 18 19 20 21 22 ... Next › Last »

Refutationalist commented on 2017-05-31 05:19

I just tried building 4.8.0-7 from a clean install-- I usually do this so I can catch missing dependencies and to control clutter. I got a build failure:

jsteel commented on 2017-04-04 09:27

Thanks, specifying the seabios file in the PKGBUILD as you suggested worked!

tony_42 commented on 2017-04-03 14:04

@jsteel: I think it's a mistake in the PKGBUILD.

It should be:
(so with the path to SeaBIOS specified)
There should be a path as well for OVMF, but I just realize the package change recently so I don't know if it's going to work with Xen.

jsteel commented on 2017-04-03 12:35

After updating from 4.8.0-4 to 4.8.0-5 I installed seabios but I get an error when booting a domU:

libxl: error: libxl_dom.c:892:libxl__load_hvm_firmware_module: failed to read BIOS file: No such file or directory

I've gone back to 4.8.0-4 for now. Any idea what else is needed apart from installing seabios for non-UEFI systems now? Thanks.

jonnyt886 commented on 2017-04-03 09:09

Hitting repeated issues building this when downloading ovmf:

-> Cloning ovmf git repo...
Cloning into bare repository '/tmp/yaourt-tmp-jonny/aur-xen/ovmf'...
remote: Counting objects: 240383, done.
remote: Compressing objects: 100% (59223/59223), done.
remote: Total 240383 (delta 184842), reused 229977 (delta 174449)
Receiving objects: 100% (240383/240383), 225.31 MiB | 259.00 KiB/s, done.
fatal: unable to open /tmp/yaourt-tmp-jonny/aur-xen/ovmf/objects/pack/tmp_pack_0lHJ2u: No such file or directory
fatal: index-pack failed
==> ERROR: Failure while downloading ovmf git repo
==> ERROR: Makepkg was unable to build xen.
==> Restart building xen ? [y/N]
==> ----------------------------

Tried removing ovmf from the PKGBUILD (removed all lines referring to ovmf except for the 'optDepends' entry) and then checksum validations fail, but with no file mentioned. And yes I did remove all the ovmf entries!

Is anyone else getting this?

Anonymous comment on 2017-03-28 06:46

Bumped to 4.8.0-5.

This version adds XSA-211, splits out SeaBIOS and OVMF and disables Werror (hopefully).

badboy commented on 2017-03-20 09:41

I'd be fine with that.

Anonymous comment on 2017-03-19 19:32

So what do you guys think about using the system's OVMF and SeaBios? Apart from faster build times because we don't need to build them ourselfs, we also prevent errors like the one of @maldo.

Once this is decided, I will push out a new PKGBUILD with the --disable-werror patch and possibly the new SeaBIOS/OVMF.

maldo commented on 2017-03-19 09:01

@das_j @badboy @JohnTh @tony_42

I am able to reproduce the makedev issue... and am running in further problems with ovmf ... any leads/ideas?

my system: naked arch with base-devel & multilib-devel (multilib enabled)

sudo pacman -Syu
git clone
makepkg -si
... public key issue with xen4.8.0
makepkg -si --skippgpcheck
... makedev issue

tap-ctl-allocate.c: In function 'tap_ctl_make_device':
tap-ctl-allocate.c:109:13: error: In the GNU C Library, "makedev" is defined
by <sys/sysmacros.h>. For historical compatibility, it is
currently defined by <sys/types.h> as well, but we plan to
remove this soon. To use "makedev", include <sys/sysmacros.h>
directly. If you did not intend to use a system-defined macro
"makedev", you should undefine it after including <sys/types.h>. [-Werror]
err = mknod(devname, perm, makedev(major, minor));
cc1: all warnings being treated as errors

applying workaround of tony_42

build() {
--with-extra-qemuu-configure-args="--disable-bluez --disable-gtk --enable-spice --enable-usb-redir --disable-werror" \
make LANG=C PYTHON=python2 APPEND_CFLAGS=-Wno-error dist

makepkg -si --skippgpcheck

g/Library/BaseUefiCpuLib/X64/InitializeFpu.nasm > /home/rnet-master/xenbuild/xen/src/xen-4.8.0/tools/firmware/ovmf-dir-remote/Build/OvmfX64/RELEASE_GCC44/X64/UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib/OUTPUT/X64/InitializeFpu.i
/home/rnet-master/xenbuild/xen/src/xen-4.8.0/tools/firmware/ovmf-dir-remote/MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointer.c: In function 'MigratePeiServicesTablePointer':
/home/rnet-master/xenbuild/xen/src/xen-4.8.0/tools/firmware/ovmf-dir-remote/MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointer.c:100:26: error: variable 'Status' set but not used [-Werror=unused-but-set-variable]
/home/rnet-master/xenbuild/xen/src/xen-4.8.0/tools/firmware/ovmf-dir-remote/MdePkg/Library/PeiHobLib/HobLib.c: In function 'GetHobList':
/home/rnet-master/xenbuild/xen/src/xen-4.8.0/tools/firmware/ovmf-dir-remote/MdePkg/Library/PeiHobLib/HobLib.c:46:25: error: variable 'Status' set but not used [-Werror=unused-but-set-variable]
/home/rnet-master/xenbuild/xen/src/xen-4.8.0/tools/firmware/ovmf-dir-remote/MdePkg/Library/PeiHobLib/HobLib.c: In function 'GetBootModeHob':
/home/rnet-master/xenbuild/xen/src/xen-4.8.0/tools/firmware/ovmf-dir-remote/MdePkg/Library/PeiHobLib/HobLib.c:212:26: error: variable 'Status' set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors
make[7]: *** [GNUmakefile:315: /home/rnet-master/xenbuild/xen/src/xen-4.8.0/tools/firmware/ovmf-dir-remote/Build/OvmfX64/RELEASE_GCC44/X64/MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt/OUTPUT/PeiServicesTablePointer.obj] Error 1
make[7]: Leaving directory '/home/rnet-master/xenbuild/xen/src/xen-4.8.0/tools/firmware/ovmf-dir-remote/Build/OvmfX64/RELEASE_GCC44/X64/MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt'
: error 7000: Failed to execute command
make tbuild [/home/rnet-master/xenbuild/xen/src/xen-4.8.0/tools/firmware/ovmf-dir-remote/Build/OvmfX64/RELEASE_GCC44/X64/MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt]
: error 7000: Failed to execute command
make tbuild [/home/rnet-master/xenbuild/xen/src/xen-4.8.0/tools/firmware/ovmf-dir-remote/Build/OvmfX64/RELEASE_GCC44/X64/MdePkg/Library/PeiHobLib/PeiHobLib]
: error F002: Failed to build module
/home/rnet-master/xenbuild/xen/src/xen-4.8.0/tools/firmware/ovmf-dir-remote/MdePkg/Library/PeiServicesTablePointerLibIdt/PeiServicesTablePointerLibIdt.inf [X64, GCC44, RELEASE]

- Failed -
Build end time: 09:48:44, Mar.19 2017
Build total time: 00:00:10

make[6]: *** [Makefile:19: build] Error 1
make[6]: Leaving directory '/home/rnet-master/xenbuild/xen/src/xen-4.8.0/tools/firmware/ovmf-dir-remote'
make[5]: *** [/home/rnet-master/xenbuild/xen/src/xen-4.8.0/tools/firmware/../../tools/ subdir-all-ovmf-dir] Error 2

devnull_1337 commented on 2017-03-18 22:18

@badboy @JohnTh: you can use the following patch for the makedev compile error:

--- a/tools/blktap2/control/tap-ctl-allocate.c 2016-04-25 22:33:15.444681888 -0
+++ b/tools/blktap2/control/tap-ctl-allocate.c 2016-04-25 22:30:33.288046037 -0
@@ -36,6 +36,7 @@
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/ioctl.h>
+#include <sys/sysmacros.h>
#include <linux/major.h>

#include "tap-ctl.h"
--- a/tools/libxl/libxl_osdeps.h 2016-04-25 22:55:04.326527630 -0700
+++ b/tools/libxl/libxl_osdeps.h 2016-04-25 22:53:36.315440845 -0700
@@ -43,6 +43,7 @@
#define SYSFS_PCIBACK_DRIVER "/sys/bus/pci/drivers/pciback"
#define NETBACK_NIC_NAME "vif%u.%d"
#include <pty.h>
+#include <sys/sysmacros.h>
#include <uuid/uuid.h>
#elif defined(__sun__)
#include <stropts.h>