[pve-devel] for architectures other than x86_64

Geert Stappers stappers at stappers.it
Thu Mar 1 13:13:39 CET 2018


Previous-Subject: Re: [pve-devel] [PATCH qemu 1/3] debian/rules: added placeholder for adding additional targets

On Thu, Mar 01, 2018 at 11:53:13AM +0100, Thomas Lamprecht wrote:
> On 2/19/18 8:53 PM, Geert Stappers wrote:
> > Without this "placeholder" is it unclear how to add additional targets.
> > No real change, just preparing for change.
> > 
> We plan to have different packages for architectures other than x86_64,
> either one with all the other we want or for each architecture a single
> package.

While in transit you don't would to build all architectures that QEMU supports.
Having a short target list will benefit developer time.
 
> The "Architecture: any" property in debian/control is not right, as we
> explicitly provide qemu-system-x86.

See/consider debian/control field 'Architecture: ' as information
for the buildd, build deamons. It is a Debian thing, it is for
supporting several architectures. Debian has buildd machines
for each arch.  Most likely are the "Proxmox buildds" only x86.
That is fine when you only want to support x86 guests.
(That is fine when you only want to target x86 guests.)

However when you want to support ARM guests on x86 host,
there needs be build `qemu-system-arm`. That is x86 executable
that makes it possible that a guest can run ARM instructions.

> So we'd rather go forward by a rework of the packaging system, i.e. use
> *.install files to determine which files to put in what package

Putting various qemu-system-$ARCH binary in various packages
is a whole other story.
My advice: Have all build qemu-system-$ARCH binaries in the same package. 
See also https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=890718#32 

> and stop removing files from the debian/rules file,

    :-)


> so won't apply 1/3 and 3/3 for now,
> as they'd put multiple different arch types in a single arch
> package and seem more like a workaround...

Yes, we see things differently. Common ground we have is
that supporting more guest architectures is good thing.

I shall retransmit patch 1/3  with updated commit message.


> We also plan to build the
> package for arm64 (aarch64) from the same (this) source, so having that
> in mind when reworking the packaging system would be nice. :)

Reworking packing system can be avoided ...


Groeten
Geert Stappers
-- 
Leven en laten leven



More information about the pve-devel mailing list