Received: from eggs.gnu.org ([2001:4830:134:3::10]:56930) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dxAbf-0001jd-Pt for qemu-devel@nongnu.org; Wed, 27 Sep 2017 07:34:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dxAbc-0007Rl-MY for qemu-devel@nongnu.org; Wed, 27 Sep 2017 07:34:23 -0400 Received: from mx1.redhat.com ([209.132.183.28]:35840) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dxAbc-0007R9-GW for qemu-devel@nongnu.org; Wed, 27 Sep 2017 07:34:20 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 83DA2C058EA9 for ; Wed, 27 Sep 2017 11:34:18 +0000 (UTC) References: <20170926111757.3628-1-kraxel@redhat.com> <7f50b7bb-bbf7-7e0e-754a-234d4244fb72@redhat.com> <20170927091531.GA12223@redhat.com> From: Paolo Bonzini Message-ID: <24f9a9d3-91d8-7828-4f00-ab0856e17415@redhat.com> Date: Wed, 27 Sep 2017 13:34:12 +0200 MIME-Version: 1.0 In-Reply-To: <20170927091531.GA12223@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 0/1] qemu-firmware repo List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Daniel P. Berrange" Cc: Gerd Hoffmann , qemu-devel@nongnu.org On 27/09/2017 11:15, Daniel P. Berrange wrote: > On Wed, Sep 27, 2017 at 09:19:22AM +0200, Paolo Bonzini wrote: >> Are you planning to include only submodules, or also "QEMU-native" >> firmware such as linuxboot, kvmvapic, s390-ccw, spapr-rtas, etc.? >=20 > The submodules make sense to split out because distro vendors buld them > independently of QEMU, and would rather not have them in the tarballs, > so they have a clearer path to license compliance and legal export > certification. >=20 > The other bits of mention are all built normally as part of QEMU and > not subject to these problems, so I don't see a benefit to splitting > them out of QEMU. They aren't rebuilt in general. You end up with x86 builds of qemu-system-x86 rebuilding linuxboot, ppc builds of qemu-system-ppc rebuilding spapr-rtas, etc. (search configure for "roms=3D"). In fact, QEMU has a special exception in Fedora just because these are too hard to untangle. So the advantage would be the ability to introduce better infrastructure for cross compilation, without complicating further the QEMU build system= . > putting those bits in the qemu-firmware > repo would re-introduce the problem we're trying to solve because > distros would then need to get linuxboox, kvmvapi etc from a tarball > of qemu-firmware which would once again include all the bits they > don't want to have. This is true. We could distribute a qemu-firmware tarball with just the QEMU-specific bits, and a qemu-firmware-all tarball with also those that are built separately. Paolo