I've solved KVM issue patching xen-4.4.0/stubdom/Makefile:
*** xen-4.4.0/stubdom/Makefile Mon Mar 10 11:43:57 2014
--- xen-4.4.0/stubdom/Makefile Thu Jun 5 20:10:11 2014
*************** gmp-$(XEN_TARGET_ARCH): gmp-$(GMP_VERSIO
*** 165,171 ****
rm $@ -rf || :
mv gmp-$(GMP_VERSION) $@
#patch -d $@ -p0 < gmp.patch
! cd $@; CPPFLAGS="-isystem $(CROSS_PREFIX)/$(GNU_TARGET_ARCH)-xen-elf/include $(TARGET_CPPFLAGS)" CFLAGS="$(TARGET_CFLAGS)" CC=$(CC) $(GMPEXT) ./configure --disable-shared --enable-static --disable-fft --without-readline --prefix=$(CROSS_PREFIX)/$(GNU_TARGET_ARCH)-xen-elf
sed -i 's/#define HAVE_OBSTACK_VPRINTF 1/\/\/#define HAVE_OBSTACK_VPRINTF 1/' $@/config.h
touch $@
--- 165,171 ----
rm $@ -rf || :
mv gmp-$(GMP_VERSION) $@
#patch -d $@ -p0 < gmp.patch
! cd $@; CPPFLAGS="-isystem $(CROSS_PREFIX)/$(GNU_TARGET_ARCH)-xen-elf/include $(TARGET_CPPFLAGS)" CFLAGS="$(TARGET_CFLAGS)" CC=$(CC) $(GMPEXT) ./configure --disable-shared --enable-static --disable-fft --without-readline --prefix=$(CROSS_PREFIX)/$(GNU_TARGET_ARCH)-xen-elf --host $(XEN_TARGET_ARCH)
sed -i 's/#define HAVE_OBSTACK_VPRINTF 1/\/\/#define HAVE_OBSTACK_VPRINTF 1/' $@/config.h
touch $@
Search Criteria
Package Details: xen-stubdom 4.20.0-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/xen.git (read-only, click to copy) |
---|---|
Package Base: | xen |
Description: | Xen hypervisor stubdom files |
Upstream URL: | https://xenproject.org/ |
Keywords: | hypervisor virtualization xen |
Licenses: | GPL2 |
Submitter: | sergej |
Maintainer: | Refutationalist |
Last Packager: | Refutationalist |
Votes: | 184 |
Popularity: | 0.069676 |
First Submitted: | 2009-11-09 11:22 (UTC) |
Last Updated: | 2025-03-13 08:19 (UTC) |
Dependencies (42)
- xenAUR
- acpica (make)
- bison (byacc-bisonAUR, bison-gitAUR) (make)
- bridge-utils (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) (make)
- libaio (libaio-gitAUR) (make)
- libuuid.so (util-linux-libs-aesAUR, util-linux-libs-selinuxAUR, 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-sile-gitAUR, pandoc-static-gitAUR, pandoc-binAUR, pandoc-cli) (make)
- pciutils (pciutils-gitAUR) (make)
- pixman (pixman-gitAUR) (make)
- pkgconf (pkgconf-gitAUR) (make)
- python (python37AUR, python311AUR, python310AUR) (make)
- python-setuptools (make)
- sdl2AUR (sdl2-gitAUR, sdl2-compat-gitAUR, sdl2-compat) (make)
- systemd (systemd-chromiumosAUR, systemd-fmlAUR, systemd-gitAUR, systemd-selinuxAUR) (make)
- systemd-libs (systemd-chromiumos-libsAUR, systemd-libs-fmlAUR, systemd-libs-gitAUR, systemd-libs-selinuxAUR) (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)
- linux-headers (optional) – extract bootable kernel for PV grub using "extract_vmlinux"
- seabios (optional) – SeaBIOS payload support
- xen-docsAUR (optional) – HTML documentation and man pages
- xen-edk2AUR (optional) – UEFI support
- xen-grub-pv32AUR (optional) – 32bit PV booting support
- xen-grub-pv64AUR (optional) – 64bit PV booting support
- xen-grub-pvhAUR (optional) – PVH booting support
- xen-qemuAUR (xen-qemuAUR) (optional) – HVM and PV support, nearly required for Xen
- xen-stubdomAUR (optional) – Xen stubdom support
Required by (3)
- xen (optional)
- xen-docs (optional)
- xen-stubdom (optional)
Sources (13)
- efi-xen.cfg
- git+https://xenbits.xen.org/git-http/xen.git#branch=stable-4.20
- http://xenbits.xen.org/xen-extfiles/grub-0.97.tar.gz
- http://xenbits.xen.org/xen-extfiles/lwip-1.3.0.tar.gz
- http://xenbits.xen.org/xen-extfiles/newlib-1.16.0.tar.gz
- http://xenbits.xen.org/xen-extfiles/pciutils-2.2.9.tar.bz2
- http://xenbits.xen.org/xen-extfiles/polarssl-1.1.4-gpl.tgz
- http://xenbits.xen.org/xen-extfiles/zlib-1.2.3.tar.gz
- tmpfiles.conf
- xen-amd-ucode.hook
- xen-intel-ucode.hook
- xen-ucode-extract.sh
- xen.conf
Latest Comments
« First ‹ Previous 1 .. 48 49 50 51 52 53 54 55 56 57 58 .. 101 Next › Last »
lucaoli commented on 2014-06-12 21:52 (UTC)
lucaoli commented on 2014-06-03 21:55 (UTC)
I'm trying to compile xen on a KVM Host, but I receive the following error:
checking compiler gcc -mno-red-zone -O1 -fno-omit-frame-pointer -m64 -mno-red-zone -fno-reorder-blocks -fno-asynchronous-unwind-tables -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-error=maybe-uninitialized -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs -fno-stack-protector -fno-exceptions has sizeof(long)==4... no
configure: error: could not find a working compiler, see config.log for details
Makefile:164: recipe for target 'gmp-x86_64' failed
make[1]: *** [gmp-x86_64] Error 1
make[1]: Leaving directory '/home/lucaoli/xen/src/xen-4.4.0/stubdom'
Makefile:104: recipe for target 'install-stubdom' failed
make: *** [install-stubdom] Error 2
In xen-4.4.0/stubdom/gmp-x86_64/config.log I've found:
configure:5631: gcc -mno-red-zone -O1 -fno-omit-frame-pointer -m64 -mno-red-zone -fno-reorder-blocks -fno-asynchronous-unwind-tables -m64 -g -fno-str
ict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-error=maybe-uninitialized -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unuse
d-local-typedefs -fno-stack-protector -fno-exceptions -c conftest.c >&5
conftest.c:2:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
main ()
^
conftest.c: In function 'main':
conftest.c:4:14: error: size of array 'test_array' is negative
static int test_array [1 - 2 * (long) (sizeof (long) != 4)];
^
What does mean "could not find a working compiler"?
I think it's normal that on a x86_64 architecture sizeof(long) is 8 and than not 4.
kantras commented on 2014-05-20 00:22 (UTC)
trixpan, I probably will but haven't had a chance to play with it too much yet so want to do that first.
kantras commented on 2014-05-17 16:16 (UTC)
I found out about this patch a couple of days ago - it should be a part of the next release; I'm just checking in case theres anything else to go in, and will upload a new version later today once I've done my usual build-testing
isiachi commented on 2014-05-17 12:00 (UTC)
This patch came from the stable-4.4 branch of xen.
I made this package:
http://downloads.rhyeworld.it/static/xen-4.4.0-3.src.tar.gz
I've already applied the patch.
chetwisniewski commented on 2014-05-17 00:08 (UTC)
I have had the shutdown issue as well. Is this a patch that will be integrated upstream or more of a personal hack?
isiachi commented on 2014-05-16 19:39 (UTC)
Hi! This is a very good package!
I've got only one problem when try to restart or shutdown pvh guests.
The entire xen system stuck and I have to manually reboot the entire system.
I've solved adding this patch:
http://xenbits.xen.org/gitweb/?p=xen.git;a=commit;h=3a148e0a7ee0ae56a498be5ba973314ec50cd999
trixpan commented on 2014-05-09 11:11 (UTC)
Kantras,
Not sure what your opinion is about this but it may be a good idea to add a patch to enable SPICE on QEMU upstream (as documented on http://wiki.xenproject.org/wiki/SPICE_support_in_Xen#QEMU_Upstream)
Please note that this would also require adding the following dependencies:
- spice (https://www.archlinux.org/packages/extra/i686/spice/)
- spice-protocol (https://www.archlinux.org/packages/extra/any/spice-protocol/)
- usbredir
Modified PKGBUILD => http://pastebin.com/eiJmLFfe
Patch to enable SPICE => http://pastebin.com/msDz41yT
Cheers
mbroemme commented on 2014-05-09 00:27 (UTC)
Regarding the ATI passthrough patch. It doesn't work anymore with Xen 4.4. I've tried it with two different Radeon cards (7870 GHz and R9 290X).
kantras commented on 2014-05-04 23:51 (UTC)
Updated packages (for xen and xen-4.3) have been uploaded - key changes are the inclusion of the gcc 4.9.0 compile patch (Thanks to the Fedora project), another security patch and a new 09_xen file (uses 10_archlinux as a base, adding in the xen specifics)
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