qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Alex Williamson <alex.williamson@redhat.com>
To: mst@redhat.com
Cc: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH v4 0/2] PCI learns about VGA
Date: Sun, 03 Mar 2013 10:21:20 -0700	[thread overview]
Message-ID: <20130303171901.15425.61733.stgit@bling.home> (raw)

Bridges aren't the only thing that needs to know about VGA, any class
VGA device can register for VGA.  This adds infrastructure to PCI to
allow devices to register VGA regions and incorporates the previous
PCI bridge only patch to also make use of this.  vfio-pci will also
use the pci_register_vga() interface when attaching VGA devices.

v4: Add common pci_vga_[un]register helpers and convert pci_bridge
v3: pci_bridge only: add comments and enable bits for snooping & alias
v2: pci_bridge only: BRIDGE_CONTROL is 2 bytes

---

Alex Williamson (2):
      pci: Add PCI VGA helpers
      pci: Teach PCI Bridges about VGA routing


 hw/pci/pci.c        |   65 +++++++++++++++++++++++++++++++++++++++++++++++++++
 hw/pci/pci.h        |   21 ++++++++++++++++
 hw/pci/pci_bridge.c |   45 ++++++++++++++++++++++++++++++++++-
 hw/pci/pci_bus.h    |    7 +++++
 hw/pci/pcie_port.c  |    2 ++
 5 files changed, 138 insertions(+), 2 deletions(-)

             reply	other threads:[~2013-03-03 17:21 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-03 17:21 Alex Williamson [this message]
2013-03-03 17:21 ` [Qemu-devel] [PATCH v4 1/2] pci: Add PCI VGA helpers Alex Williamson
2013-03-03 17:21 ` [Qemu-devel] [PATCH v4 2/2] pci: Teach PCI Bridges about VGA routing Alex Williamson
2013-03-04  1:39   ` Peter Maydell
2013-03-04  1:52     ` Alex Williamson
2013-03-04  9:09   ` Michael S. Tsirkin
2013-03-04  9:15 ` [Qemu-devel] [PATCH v4 0/2] PCI learns about VGA Michael S. Tsirkin

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=20130303171901.15425.61733.stgit@bling.home \
    --to=alex.williamson@redhat.com \
    --cc=mst@redhat.com \
    --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).