Re: [PATCH 1/8] build-system: clean up TCG/TCI configury
- To: Helge Deller <deller@gmx.de>, Daniel P. Berrangé <berrange@redhat.com>
- Cc: Philippe Mathieu-Daudé <f4bug@amsat.org>, Aurelien Jarno <aurelien@aurel32.net>, Stefan Weil <sw@weilnetz.de>, debian-hppa@lists.debian.org, debian-superh@lists.debian.org, Peter Maydell <peter.maydell@linaro.org>, QEMU Developers <qemu-devel@nongnu.org>, Stefan Hajnoczi <stefanha@redhat.com>, Marc-André Lureau <marcandre.lureau@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, Alex Bennée <alex.bennee@linaro.org>
- Subject: Re: [PATCH 1/8] build-system: clean up TCG/TCI configury
- From: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
- Date: Thu, 14 Jan 2021 10:51:34 +0100
- Message-id: <[🔎] 16bba859-c7a2-1121-6819-9e2be08d5691@physik.fu-berlin.de>
- In-reply-to: <[🔎] 4d81fdad-6b76-d7b7-ba44-e3d7cf545dba@gmx.de>
- References: <20210107140039.467969-1-pbonzini@redhat.com> <20210107140039.467969-2-pbonzini@redhat.com> <CAFEAcA9yyUUmd+hj6kgAV8KWtCC41Q55JRfE0q1zTaDaOofgOQ@mail.gmail.com> <a5cd4c43-2f12-2dbf-8db7-21acc7abc73d@redhat.com> <20210107160653.GD1029501@redhat.com> <[🔎] d1b5a493-0658-3bba-b1b4-0116f337031d@amsat.org> <[🔎] 46e79fb0-2ce1-35a8-3ce8-44699508a1d1@gmx.de> <[🔎] 20210113135705.GC1568240@redhat.com> <[🔎] 4d81fdad-6b76-d7b7-ba44-e3d7cf545dba@gmx.de>
Hello!
On 1/13/21 3:23 PM, Helge Deller wrote:
>> This is what that TCG interpreter provides for. eg would anyone
>> really want to emulate aarch64 guest when runing on a hppa host ?
>
> In debian many packages directly and indirectly depend on the qemu
> source package, because it provides - beside the emulator - various
> userspace tools which are necessary natively, like e.g. qemu-img.
I agree, that this a problem and it would be great if QEMU could be fixed
that it builds on all targets, not necessarily with all features available.
Currently, it looks like this:
> https://buildd.debian.org/status/package.php?p=qemu&suite=sid
Note: The build failure on sparc64 is a bug in the device-tree-compiler
package which has not been fixed in Debian yet, see:
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=977031
> In the past building those tools failed on hppa because the configure script
> detected that neither native TCG nor TCG interpreter support was possible.
> As such the configuration aborted and no tools were built.
> So, the change should still make it possible to enable building the userspace
> tools.
I agree.
> On the other side, sometimes even a slow TCG-interpreter enabled qemu
> for other arches can be useful. It's not about speed, but about the
> *possibility* to emulate small pieces of different code, e.g.
> cross-compilers, bios-tools and such. It's not used often, but it
> can be handy.
I also agree here.
> That said, if it doesn't hurt I think we should not disable something
> which can be useful (this applies to all architectures).
True.
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer - glaubitz@debian.org
`. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Reply to: