[pve-devel] applied: [RFC pve-qemu] build and include qemu-system-aarch64

Wolfgang Bumiller w.bumiller at proxmox.com
Wed Oct 17 12:00:46 CEST 2018


applied, btw... ;-)

On Wed, Sep 26, 2018 at 12:15:20PM +0200, Dietmar Maurer wrote:
> Signed-off-by: Dietmar Maurer <dietmar at proxmox.com>
> ---
>  debian/control            | 4 ++++
>  debian/pve-qemu-kvm.links | 5 +++++
>  debian/rules              | 2 +-
>  3 files changed, 10 insertions(+), 1 deletion(-)
> 
> diff --git a/debian/control b/debian/control
> index d2c40ff..5b46622 100644
> --- a/debian/control
> +++ b/debian/control
> @@ -26,6 +26,7 @@ Build-Depends: autotools-dev,
>                 texinfo,
>                 uuid-dev,
>                 xfslibs-dev,
> +	       libfdt-dev,
>  Standards-Version: 3.7.2
>  
>  Package: pve-qemu-kvm
> @@ -53,12 +54,15 @@ Conflicts: kvm,
>             qemu-kvm,
>             qemu-system-common,
>             qemu-system-x86,
> +           qemu-system-arm,
>             qemu-utils,
>  Provides: qemu-system-x86,
> +          qemu-system-arm,
>            qemu-utils,
>  Replaces: pve-kvm,
>            pve-qemu-kvm-2.6.18,
>            qemu-system-x86,
> +          qemu-system-arm,
>            qemu-utils,
>  Description: Full virtualization on x86 hardware
>   Using KVM, one can run multiple virtual PCs, each running unmodified Linux or
> diff --git a/debian/pve-qemu-kvm.links b/debian/pve-qemu-kvm.links
> index 8749a89..7d9c8b1 100644
> --- a/debian/pve-qemu-kvm.links
> +++ b/debian/pve-qemu-kvm.links
> @@ -3,9 +3,14 @@ usr/bin/qemu-system-x86_64 usr/bin/kvm
>  # qemu-system-i386 and qemu-system-x86_64 provides the same hardware emulation
>  usr/bin/qemu-system-x86_64 usr/bin/qemu-system-i386
>  
> +# also use aarch64 for 32 bit arm
> +usr/bin/qemu-system-aarch64 usr/bin/qemu-system-arm
> +
>  # upstream provides a qemu man page,
>  # we symlink to kvm for backward compatibility
>  # and to qemu-system-{i386,x86_64} to fullfill our 'Provides: qemu-system-x86'
>  usr/share/man/man1/qemu.1  usr/share/man/man1/kvm.1
>  usr/share/man/man1/qemu.1  usr/share/man/man1/qemu-system-i386.1
>  usr/share/man/man1/qemu.1  usr/share/man/man1/qemu-system-x86_64.1
> +usr/share/man/man1/qemu.1  usr/share/man/man1/qemu-system-arm.1
> +usr/share/man/man1/qemu.1  usr/share/man/man1/qemu-system-aarch64.1
> diff --git a/debian/rules b/debian/rules
> index 02fcce8..620ba81 100755
> --- a/debian/rules
> +++ b/debian/rules
> @@ -33,7 +33,7 @@ config.status: configure
>  	# Add here commands to configure the package.
>  
>  	# guest-agent is only required for guest systems
> -	./configure --with-confsuffix="/kvm" --target-list=$(ARCH)-softmmu \
> +	./configure --with-confsuffix="/kvm" --target-list=$(ARCH)-softmmu,aarch64-softmmu \
>  	--prefix=/usr --datadir=/usr/share \
>  	--docdir=/usr/share/doc/pve-qemu-kvm \
>  	--sysconfdir=/etc --localstatedir=/var --disable-xen --enable-gnutls \
> -- 
> 2.11.0




More information about the pve-devel mailing list