From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38498) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XoaE9-0003UB-Rg for qemu-devel@nongnu.org; Wed, 12 Nov 2014 10:53:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XoaE3-0000xE-Mo for qemu-devel@nongnu.org; Wed, 12 Nov 2014 10:53:01 -0500 Received: from mx1.redhat.com ([209.132.183.28]:45357) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XoaE3-0000x3-Di for qemu-devel@nongnu.org; Wed, 12 Nov 2014 10:52:55 -0500 Message-ID: <54638239.8090901@redhat.com> Date: Wed, 12 Nov 2014 16:52:25 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <20141030180216.GD31629@leverpostej> <5463763A.7080707@huawei.com> <2085435.cOIMo5l3OF@wuerfel> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [Linaro-acpi] [RFC PATCH 0/7] hw/arm/virt: Dynamic ACPI v5.1 table generation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell , Arnd Bergmann Cc: Mark Rutland , "Ian.Campbell@citrix.com" , "linaro-acpi@lists.linaro.org" , Claudio Fontana , QEMU Developers , "stefano.stabellini@citrix.com" , "tech@virtualopensystems.com" , Parth Dixit , Christoffer Dall On 12/11/2014 16:39, Peter Maydell wrote: > > Definitely, I think having the OS manually program the BARs only makes sense > > in an environment where you don't have a full-featured boot loader or you > > don't trust it. In servers and virtual machines, the PCI bus should always come > > fully set up. This also implies that the OS should not have to deal with > > registers for setting up the translation between PCI and system address > > ranges. > > It seems to me like complicated stuff like that definitely belongs > in the UEFI/bootloader blob, though. I'd rather QEMU just modelled > the hardware and let the guest (or the firmware, which is guest > code from QEMU's point of view) set it up however it wants. It definitely doesn't belong in QEMU! Paolo