@das_j: Xen 4.9 has full multiboot2 support to make EFI + Grub + Xen working out of the box. See https://wiki.xenproject.org/wiki/Xen_EFI
In Arch Linux there is already grub2 2.02 with working multiboot2, so could cou please apply the following patch to grub-mkconfig-helper:
https://zuppy.pm/patches/xen-grub2-efi-multiboot2.patch
I've tested it already, with this patch Xen can be booted via grub in BIOS and UEFI mode. Without the patch you are forced to switch to BIOS mode or use EFI binary directly which makes multi-OS / grub2 booting very complicated.
Search Criteria
Package Details: xen-docs 4.19.1pre-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/xen.git (read-only, click to copy) |
---|---|
Package Base: | xen |
Description: | Xen hypervisor documentation and man pages |
Upstream URL: | https://xenproject.org/ |
Keywords: | hypervisor virtualization xen |
Licenses: | GPL2 |
Submitter: | sergej |
Maintainer: | Refutationalist |
Last Packager: | Refutationalist |
Votes: | 185 |
Popularity: | 0.46 |
First Submitted: | 2009-11-09 11:22 (UTC) |
Last Updated: | 2024-09-20 00:31 (UTC) |
Dependencies (35)
- acpica (make)
- bin86AUR (make)
- bison (byacc-bisonAUR, bison-gitAUR) (make)
- bridge-utils (make)
- dev86AUR (make)
- fig2dev (fig2dev-gitAUR) (make)
- flex (flex-gitAUR) (make)
- gettext (gettext-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR) (make)
- gnutls (gnutls-gitAUR) (make)
- inetutils (inetutils-gitAUR, busybox-coreutilsAUR) (make)
- iproute2 (iproute2-gitAUR, busybox-coreutilsAUR, iproute2-selinuxAUR) (make)
- lib32-glibc (lib32-glibc-gitAUR, lib32-glibc-linux4AUR, lib32-glibc-eacAUR, lib32-glibc-eac-binAUR, lib32-glibc-eac-rocoAUR) (make)
- libaio (libaio-gitAUR) (make)
- libuuid.so (util-linux-libs-selinuxAUR, util-linux-libs-aesAUR, lib32-util-linux, util-linux-libs) (make)
- libx11 (libx11-gitAUR) (make)
- lzo (make)
- ncurses (ncurses-gitAUR) (make)
- openssl (openssl-gitAUR, openssl-staticAUR) (make)
- pandoc (pandoc-static-gitAUR, pandoc-sile-gitAUR, pandoc-binAUR, pandoc-cli) (make)
- pciutils (pciutils-gitAUR) (make)
- pixman (pixman-gitAUR) (make)
- pkgconf (pkgconf-gitAUR) (make)
- python (python37AUR, python311AUR, python310AUR) (make)
- sdl2 (sdl2-gitAUR, sdl2-compat-gitAUR) (make)
- systemd (systemd-chromiumosAUR, systemd-selinuxAUR, systemd-gitAUR, systemd-fmlAUR) (make)
- systemd-libs (systemd-chromiumos-libsAUR, systemd-libs-selinuxAUR, systemd-libs-gitAUR, systemd-libs-fmlAUR) (make)
- valgrind (valgrind-gitAUR) (make)
- vde2 (vdeplug4-gitAUR) (make)
- wget (wget-gitAUR, wurlAUR) (make)
- yajl (yajl-gitAUR) (make)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat) (make)
- xen-pvhgrubAUR (optional) – bootloader for PVH domains
- xen-qemuAUR (xen-qemuAUR) (optional) – needed for PV and HVM domUs
Required by (1)
- xen (optional)
Sources (7)
Latest Comments
« First ‹ Previous 1 .. 17 18 19 20 21 22 23 24 25 26 27 .. 101 Next › Last »
mbroemme commented on 2017-11-24 14:31 (UTC)
mbroemme commented on 2017-11-24 14:17 (UTC) (edited on 2017-11-24 14:17 (UTC) by mbroemme)
@das_j: There is a bug in this package which will result in systemd failing to load kernel modules:
Nov 24 15:09:49 server systemd-modules-load[4287]: Failed to find module 'gntdev'
Nov 24 15:09:49 server systemd-modules-load[4287]: Failed to find module 'netbk'
Nov 24 15:09:49 server systemd-modules-load[4287]: Failed to find module 'blkbk'
Nov 24 15:09:49 server systemd-modules-load[4287]: Failed to find module 'xen-scsibk'
Nov 24 15:09:49 server systemd-modules-load[4287]: Failed to find module 'usbbk'
Nov 24 15:09:49 server systemd-modules-load[4287]: Failed to find module 'pciback'
Nov 24 15:09:49 server systemd-modules-load[4287]: Failed to find module 'blktap2'
Nov 24 15:09:49 server systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
Nov 24 15:09:49 server systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
Nov 24 15:09:49 server systemd[1]: Failed to start Load Kernel Modules.
The reason is because the shipped xen.conf is never installed during package build, therefore the xen default is installed but not working for Arch Linux kernels. Could you please apply the following patch to PKGBUILD:
https://zuppy.pm/patches/xen-modules-load-fix.patch
ipdown commented on 2017-11-09 17:20 (UTC)
Does anyone knows how to get coretemp/lm_sensors to work with xen-kernel?
I am able to monitor cpu temperature with regular kernel, but not in dom0/xen-kernel.
ArthurBorsboom commented on 2017-10-19 18:05 (UTC)
If this only installs one package, what about changing the make dependency in the package from pandoc to pandoc-bin?
Or does this have side effects?
zootboy commented on 2017-10-19 03:41 (UTC)
@ArthurBorsboom
You can install pandoc-bin in its place.
ArthurBorsboom commented on 2017-10-15 08:45 (UTC)
Xen doesn't build (anymore):
entry.S: Assembler messages:
entry.S:42: Error: invalid operands (*ABS* and *UND* sections) for `-'
entry.S:61: Error: invalid operands (*UND* and *UND* sections) for `+'
entry.S:115: Error: invalid operands (*ABS* and *UND* sections) for `-'
entry.S:110: Error: invalid operands (*UND* and *UND* sections) for `-'
make[6]: *** [/opt/tmp/makepkg/xen/src/xen-4.9.0/xen/Rules.mk:177: entry.o] Error 1
Any idea how to solve this?
ArthurBorsboom commented on 2017-10-14 08:11 (UTC)
Is the pandoc make dependency really necessary?
It brings in exactly 101 haskell-* (dependency) packages.
JohnTh commented on 2017-10-01 01:19 (UTC)
Thanks das_j
Hi finnland,
I didn't have any issues installing or running win10 or freebsd11 amd64 iso zroot with ovmf.
This patch for xen-4.9.0 built-in ovmf:
https://github.com/tianocore/edk2/commit/fe4a28ccbfd33cae9e1f56b174d46b4eb2329efd.patch
Or the full ovmf BIOS built with a modified Arch ovmf PKGBUILD.
diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD
index f9297d0..098ab18 100644
--- a/trunk/PKGBUILD
+++ b/trunk/PKGBUILD
@@ -1,6 +1,7 @@
# $Id$
# Maintainer: Thomas Bächler <thomas@archlinux.org>
-pkgname=ovmf
+pkgbase=ovmf
+pkgname=('ovmf' 'ovmf-unsplit')
pkgver=r22345.bec7a86c70
epoch=1
pkgrel=1
@@ -51,10 +52,15 @@ build() {
./BaseTools/BinWrappers/PosixLike/build
}
-package() {
+package_ovmf() {
#install -D -m644 "${srcdir}"/edk2/Build/OvmfIa32/RELEASE_${_toolchain_opt}/FV/OVMF_CODE.fd "${pkgdir}"/usr/share/ovmf/ia32/OVMF_CODE.fd
#install -D -m644 "${srcdir}"/edk2/Build/OvmfIa32/RELEASE_${_toolchain_opt}/FV/OVMF_VARS.fd "${pkgdir}"/usr/share/ovmf/ia32/OVMF_VARS.fd
install -D -m644 "${srcdir}"/edk2/Build/OvmfX64/RELEASE_${_toolchain_opt}/FV/OVMF_CODE.fd "${pkgdir}"/usr/share/ovmf/x64/OVMF_CODE.fd
install -D -m644 "${srcdir}"/edk2/Build/OvmfX64/RELEASE_${_toolchain_opt}/FV/OVMF_VARS.fd "${pkgdir}"/usr/share/ovmf/x64/OVMF_VARS.fd
install -D -m644 "${srcdir}"/edk2/OvmfPkg/License.txt "${pkgdir}"/usr/share/licenses/ovmf/License.txt
}
+
+package_ovmf-unsplit() {
+ install -D -m644 "${srcdir}"/edk2/Build/OvmfX64/RELEASE_${_toolchain_opt}/FV/OVMF.fd "${pkgdir}"/usr/share/ovmf/ovmf_x64.bin
+ install -D -m644 "${srcdir}"/edk2/OvmfPkg/License.txt "${pkgdir}"/usr/share/licenses/"${pkgname[2]}"/License.txt
+}
VM config
### Xen VM options
## http://xenbits.xen.org/docs/unstable/man/xl.cfg.5.html
name="win10.cfg"
builder="hvm"
memory=2048
bios="ovmf"
bios_path_override="/usr/share/ovmf/ovmf_x64.bin"
#device_model_args=[ "-debugcon", "file:ovmf_debug.log", "-global", "isa-debugcon.iobase=0x402"]
hdtype="ahci"
disk=[
"/mnt/server/software/os/Microsoft_Windows/to_check/Win10_1703_EnglishInternational_x64.iso, raw, xvdc, cdrom",
# "/mnt/server/software/os/FreeBSD-11.1-RELEASE-amd64-disc1.iso, raw, xvdc, cdrom",
"/dev/mapper/sda1_vg-win10, raw, xvda, rw"
]
vif=[ "" ]
vnc=1
vnclisten="0.0.0.0"
vncunused=1
vncpasswd="pass"
usb=1
usbdevice=[ "tablet" ]
<deleted-account> commented on 2017-09-30 21:14 (UTC)
@tony_42 Thank you, applied :)
@maldo Building from AUR requires base-devel
@maldo @asura Added SPICE dependency
@JohnTh Applied all XSA patches
finnland commented on 2017-09-25 12:52 (UTC)
Hi JohnTh,
after quite a bit of tinkering I got Xen built with the in tree ovmf. It does not build out of the box so i had to select a newer version, the one it selects from git by default has a bug in it. Anyhow I got it so far that I can start a machine using ovmf but it seems quite flaky, win 10 just reboots immediately , Freebsd 11 crashes. Arch works tho. I gave up for now and sticking with seabios, which seems to work.
Pinned Comments
Refutationalist commented on 2024-12-06 01:37 (UTC)
Please Note: Per best-practices by upstream this package follows the git stable branch. Minor releases do not require a version bump and the PKGBUILD will provide the appropriate version number.
stubdom is still broken.