[Pkg-libvirt-maintainers] Bug#795516: [patch] Enable Xen support on armhf and arm64 architectures

Guido Günther agx at sigxcpu.org
Sat Aug 15 08:42:34 UTC 2015


On Fri, Aug 14, 2015 at 10:35:15PM +0200, Yann Soubeyrand wrote:
> 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)

Great!
.
> Unfortunately, I don't have an arm64 device and so couldn't test the
> modified packages for this architecture.

Should we suggest a U-Boot version that has this support for armhf then?
>From what I read we don't need anything else to enable HYP mode, is that
correct?

Cheers,
 -- Guido

> 
> 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.soubeyrand at 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



More information about the Pkg-libvirt-maintainers mailing list