From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NF786-00080H-Ih for qemu-devel@nongnu.org; Mon, 30 Nov 2009 09:21:30 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NF781-0007xx-V5 for qemu-devel@nongnu.org; Mon, 30 Nov 2009 09:21:30 -0500 Received: from [199.232.76.173] (port=42936 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NF781-0007xq-Q1 for qemu-devel@nongnu.org; Mon, 30 Nov 2009 09:21:25 -0500 Received: from mx1.redhat.com ([209.132.183.28]:16097) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NF781-0004tH-Fn for qemu-devel@nongnu.org; Mon, 30 Nov 2009 09:21:25 -0500 Date: Mon, 30 Nov 2009 16:18:44 +0200 From: "Michael S. Tsirkin" Message-ID: <20091130141844.GA25629@redhat.com> References: <20091008155256.GA13660@redhat.com> <20091130141722.GB25613@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091130141722.GB25613@redhat.com> Subject: [Qemu-devel] Re: [PATCHv2-repost] pcbios: enable io/memory unconditionally List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: Anthony Liguori , "qemu-devel@nongnu.org" , kvm-devel On Mon, Nov 30, 2009 at 04:17:22PM +0200, Michael S. Tsirkin wrote: > On Thu, Oct 08, 2009 at 05:52:56PM +0200, Michael S. Tsirkin wrote: > VGA adapters need to claim memory and i/o > transactions even if they do not have any > i/o or memory bars. E.g. PCI spec, page 297, > gives an example of such a device: > > Programming interface 0000 0000b > VGA-compatible controller. Memory > addresses 0A 0000h through 0B > FFFFh. I/O addresses 3B0h to 3BBh > and 3C0h to 3DFh and all aliases of > these addresses. > > While we could check for these devices and special-case them, it is > easier to fix this by enabling i/o and memory space unconditionally: > devices that do not support it will just ignore this setting. > > Signed-off-by: Michael S. Tsirkin > --- > > This patch is needed for qemu-kvm as that is still using pcbios. After applying it, f0c728d09728825f7f8b6896adcf6e4fd58dc7ef in qemu-kvm can be reverted. -- MST