From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: [PATCHv2-repost] pcbios: enable io/memory unconditionally Date: Mon, 30 Nov 2009 10:00:23 -0600 Message-ID: <4B13EC17.1040102@linux.vnet.ibm.com> References: <20091008155256.GA13660@redhat.com> <20091130141722.GB25613@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Avi Kivity , "qemu-devel@nongnu.org" , kvm-devel To: "Michael S. Tsirkin" Return-path: Received: from e39.co.us.ibm.com ([32.97.110.160]:37813 "EHLO e39.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752291AbZK3QA0 (ORCPT ); Mon, 30 Nov 2009 11:00:26 -0500 Received: from d03relay02.boulder.ibm.com (d03relay02.boulder.ibm.com [9.17.195.227]) by e39.co.us.ibm.com (8.14.3/8.13.1) with ESMTP id nAUFs3ZR004875 for ; Mon, 30 Nov 2009 08:54:03 -0700 Received: from d03av05.boulder.ibm.com (d03av05.boulder.ibm.com [9.17.195.85]) by d03relay02.boulder.ibm.com (8.13.8/8.13.8/NCO v9.1) with ESMTP id nAUG0QW7213034 for ; Mon, 30 Nov 2009 09:00:27 -0700 Received: from d03av05.boulder.ibm.com (loopback [127.0.0.1]) by d03av05.boulder.ibm.com (8.14.3/8.13.1/NCO v10.0 AVout) with ESMTP id nAUG0P0Y008607 for ; Mon, 30 Nov 2009 09:00:26 -0700 In-Reply-To: <20091130141722.GB25613@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: 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 is for stable? > --- > > This patch is needed for qemu-kvm as that is still using pcbios. > Why hasn't qemu-kvm switched to seabios? -- Regards, Anthony Liguori