qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: Avi Kivity <avi@redhat.com>
Cc: Anthony Liguori <aliguori@us.ibm.com>,
	"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
	kvm-devel <kvm@vger.kernel.org>
Subject: [Qemu-devel] Re: [PATCHv2-repost] pcbios: enable io/memory unconditionally
Date: Mon, 30 Nov 2009 16:18:44 +0200	[thread overview]
Message-ID: <20091130141844.GA25629@redhat.com> (raw)
In-Reply-To: <20091130141722.GB25613@redhat.com>

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 <mst@redhat.com>
> ---
> 
> This patch is needed for qemu-kvm as that is still using pcbios.

After applying it, f0c728d09728825f7f8b6896adcf6e4fd58dc7ef
in qemu-kvm can be reverted.

-- 
MST

  reply	other threads:[~2009-11-30 14:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-08 15:52 [Qemu-devel] [PATCHv2] pcbios: enable io/memory unconditionally Michael S. Tsirkin
2009-11-30 14:17 ` [Qemu-devel] [PATCHv2-repost] " Michael S. Tsirkin
2009-11-30 14:18   ` Michael S. Tsirkin [this message]
2009-11-30 16:00   ` [Qemu-devel] " Anthony Liguori
2009-11-30 16:04     ` Avi Kivity
2009-12-02 12:56       ` Avi Kivity
2009-11-30 16:04     ` Michael S. Tsirkin
2009-12-02 13:28   ` Avi Kivity

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091130141844.GA25629@redhat.com \
    --to=mst@redhat.com \
    --cc=aliguori@us.ibm.com \
    --cc=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).