qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/6] Misc PCI cleanups
@ 2012-10-02 19:21 Alex Williamson
  2012-10-02 19:21 ` [Qemu-devel] [PATCH 1/6] pci: Add INTx no-route option Alex Williamson
                   ` (6 more replies)
  0 siblings, 7 replies; 28+ messages in thread
From: Alex Williamson @ 2012-10-02 19:21 UTC (permalink / raw)
  To: mst, qemu-devel; +Cc: jan.kiszka, alex.williamson

A few cleanups that I'll also apply to vfio-pci.  First make intx
route checking non-fatal.  vfio-pci has a fallback INTx mechanism
that doesn't rely on this, so we can already run on q35, but not if
we can't even probe for intx routing w/o blowing up.  Next, both
vfio-pci and pci-assign test whether INTx routing has changed using
similar functions.  Make this common.  Finally, expose a way to
get the MSI message for an MSI vector.  Again, both pci-assign and
vfio-pci need to do this to program the vector for KVM injection.
Thanks,

Alex

---

Alex Williamson (6):
      pci-assign: Use msi_get_message()
      msi: Add msi_get_message()
      pci-assign: Use pci_intx_route_changed()
      pci: Helper function for testing if an INTx route changed
      pci-assign: Add support for no-route
      pci: Add INTx no-route option


 hw/kvm/pci-assign.c |   14 ++++++++------
 hw/msi.c            |   45 +++++++++++++++++++++++++++++----------------
 hw/msi.h            |    1 +
 hw/pci.c            |   13 +++++++++++--
 hw/pci.h            |    2 ++
 5 files changed, 51 insertions(+), 24 deletions(-)

^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2012-10-11 14:10 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-02 19:21 [Qemu-devel] [PATCH 0/6] Misc PCI cleanups Alex Williamson
2012-10-02 19:21 ` [Qemu-devel] [PATCH 1/6] pci: Add INTx no-route option Alex Williamson
2012-10-02 19:21 ` [Qemu-devel] [PATCH 2/6] pci-assign: Add support for no-route Alex Williamson
2012-10-02 19:55   ` Anthony Liguori
2012-10-02 20:12     ` Alex Williamson
2012-10-03  9:52       ` Paolo Bonzini
2012-10-03 12:32         ` Anthony Liguori
2012-10-02 19:21 ` [Qemu-devel] [PATCH 3/6] pci: Helper function for testing if an INTx route changed Alex Williamson
2012-10-02 19:22 ` [Qemu-devel] [PATCH 4/6] pci-assign: Use pci_intx_route_changed() Alex Williamson
2012-10-02 19:22 ` [Qemu-devel] [PATCH 5/6] msi: Add msi_get_message() Alex Williamson
2012-10-02 19:22 ` [Qemu-devel] [PATCH 6/6] pci-assign: Use msi_get_message() Alex Williamson
2012-10-08 15:58 ` [Qemu-devel] [PATCH 0/6] Misc PCI cleanups Alex Williamson
2012-10-08 16:01   ` Jan Kiszka
2012-10-08 20:15   ` Michael S. Tsirkin
2012-10-08 19:27     ` Alex Williamson
2012-10-08 21:40       ` Michael S. Tsirkin
2012-10-08 21:11         ` Alex Williamson
2012-10-08 21:50           ` Michael S. Tsirkin
2012-10-08 22:09             ` Alex Williamson
2012-10-08 22:44               ` Michael S. Tsirkin
2012-10-08 23:54                 ` Alex Williamson
2012-10-11 14:11                   ` Michael S. Tsirkin
2012-10-09  7:09           ` Jan Kiszka
2012-10-10 19:31             ` Alex Williamson
2012-10-11 10:37               ` Michael S. Tsirkin
2012-10-11 13:38                 ` Alex Williamson
2012-10-11 13:49                   ` Michael S. Tsirkin
2012-10-11 14:10                     ` Alex Williamson

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).