Source: libvirt
Version 1.2.9-9
Severity: wishlist
Tags: patch
Dear maintainer,
Libvirt packages for armhf and arm64 architectures are built without
Xen support. However, Xen is now available for these architectures.
Here is a patch to enable its support for these architectures.
I cross built the modified packages for armhf and arm64 using
cowbuilder with qemu-debootstrap and it seems to work properly on my
Cubietruck using Jessie and U-Boot from Stretch (to enable HYP mode).
Unfortunately, I don't have an arm64 device and so couldn't test the
modified packages for this architecture.
Feel free to ask me if you need more informations.
Regards
Yann
diff -Nru libvirt-1.2.9/debian/changelog libvirt-1.2.9/debian/changelog
--- libvirt-1.2.9/debian/changelog 2015-02-06 15:43:48.000000000 +0100
+++ libvirt-1.2.9/debian/changelog 2015-08-14 16:07:14.000000000 +0200
@@ -1,3 +1,10 @@
+libvirt (1.2.9-9.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Enable Xen support for armhf and arm64 architectures
+
+ -- Yann Soubeyrand <yann.soubeyr...@gmx.fr> Fri, 14 Aug 2015 16:06:29 +0200
+
libvirt (1.2.9-9) unstable; urgency=medium
* [4c14b83] qemu: Don't try to parse -help for new QEMU.
diff -Nru libvirt-1.2.9/debian/control libvirt-1.2.9/debian/control
--- libvirt-1.2.9/debian/control 2015-02-05 21:22:11.000000000 +0100
+++ libvirt-1.2.9/debian/control 2015-08-14 16:12:21.000000000 +0200
@@ -14,7 +14,7 @@
libgnutls28-dev,
libavahi-client-dev,
libsasl2-dev,
- libxen-dev (>= 4.3) [i386 amd64],
+ libxen-dev (>= 4.3) [i386 amd64 armhf arm64],
lvm2 [linux-any],
open-iscsi [linux-any],
libparted0-dev (>= 2.2),
@@ -198,7 +198,7 @@
Package: libvirt-dev
Architecture: any
Section: libdevel
-Depends: ${misc:Depends}, libvirt0 (= ${binary:Version}), libxen-dev [i386 amd64]
+Depends: ${misc:Depends}, libvirt0 (= ${binary:Version}), libxen-dev [i386 amd64 armhf arm64]
Replaces: libvirt-bin (<< 1.2.0~)
Recommends: pkg-config
Description: development files for the libvirt library
diff -Nru libvirt-1.2.9/debian/rules libvirt-1.2.9/debian/rules
--- libvirt-1.2.9/debian/rules 2015-02-05 21:22:11.000000000 +0100
+++ libvirt-1.2.9/debian/rules 2015-08-14 16:13:40.000000000 +0200
@@ -11,6 +11,9 @@
WITH_LIBXL = --with-libxl
WITH_VBOX = --with-vbox
MAKE_CHECK = 1
+ else ifneq (,$(findstring $(DEB_HOST_ARCH), armhf arm64))
+ WITH_XEN = --with-xen
+ WITH_LIBXL = --with-libxl
else
WITH_XEN = --without-xen
WITH_LIBXL = --without-libxl