qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/9] PCI capability and device assignment improvements
@ 2010-11-12 17:45 Alex Williamson
  2010-11-12 17:46 ` [Qemu-devel] [PATCH v2 1/9] pci: pci_default_cap_write_config ignores wmask Alex Williamson
                   ` (8 more replies)
  0 siblings, 9 replies; 14+ messages in thread
From: Alex Williamson @ 2010-11-12 17:45 UTC (permalink / raw)
  To: kvm, mst; +Cc: chrisw, alex.williamson, qemu-devel

v2:

 - Fixed the function name in 1/8 per Michael's suggestion.
 - Removed capability specific config read/write registration
 - Added more checks to add_capability
 - Added capability lookup table to PCIDevice

I've dropped the RFC patch to add more capabilities to device
assignment while I do some more work on it.  Please feel free
to comment on the v1 version though.  Patches still against
qemu-kvm, but I hope some of this makes it easier to bring
qemu & qemu-kvm closer here.  Thanks,

Alex

v1:

This series attempts to clean up capability support between common
code and device assignment.  In doing so, we can move existing MSI &
MSI-X capabilities to offsets matching real hardware, and further
enable more capabilities to be exposed.

The last patch is only for RFC, I'd like some input on what we should
pass directly and where we should only provide read-only/emulated
access.  Patches 1-7 are submitted for commit.  Thanks,

Alex

---

Alex Williamson (9):
      pci: Store capability offsets in PCIDevice
      pci: Remove capability read/write config handlers
      pci: Pass ID for capability read/write handlers
      device-assignment: Move PCI capabilities to match physical hardware
      pci: Remove cap.length, cap.start, cap.supported
      pci: Replace used bitmap with capability byte map
      device-assignment: Use PCI capabilities support
      pci: Remove pci_enable_capability_support()
      pci: pci_default_cap_write_config ignores wmask


 hw/device-assignment.c |  157 +++++++++++++++++++++++++-----------------------
 hw/msix.c              |   15 ++---
 hw/pci.c               |  132 +++++++++++++++-------------------------
 hw/pci.h               |   39 ++----------
 4 files changed, 145 insertions(+), 198 deletions(-)

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

end of thread, other threads:[~2010-11-16 21:41 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-12 17:45 [Qemu-devel] [PATCH v2 0/9] PCI capability and device assignment improvements Alex Williamson
2010-11-12 17:46 ` [Qemu-devel] [PATCH v2 1/9] pci: pci_default_cap_write_config ignores wmask Alex Williamson
2010-11-13 21:09   ` [Qemu-devel] " Michael S. Tsirkin
2010-11-16 21:33   ` Marcelo Tosatti
2010-11-12 17:46 ` [Qemu-devel] [PATCH v2 2/9] pci: Remove pci_enable_capability_support() Alex Williamson
2010-11-12 17:46 ` [Qemu-devel] [PATCH v2 3/9] device-assignment: Use PCI capabilities support Alex Williamson
2010-11-12 17:46 ` [Qemu-devel] [PATCH v2 4/9] pci: Replace used bitmap with capability byte map Alex Williamson
2010-11-12 17:46 ` [Qemu-devel] [PATCH v2 5/9] pci: Remove cap.length, cap.start, cap.supported Alex Williamson
2010-11-12 17:46 ` [Qemu-devel] [PATCH v2 6/9] device-assignment: Move PCI capabilities to match physical hardware Alex Williamson
2010-11-12 17:47 ` [Qemu-devel] [PATCH v2 7/9] pci: Pass ID for capability read/write handlers Alex Williamson
2010-11-12 17:47 ` [Qemu-devel] [PATCH v2 8/9] pci: Remove capability read/write config handlers Alex Williamson
2010-11-12 17:47 ` [Qemu-devel] [PATCH v2 9/9] pci: Store capability offsets in PCIDevice Alex Williamson
2010-11-13 21:05   ` [Qemu-devel] " Michael S. Tsirkin
2010-11-15  3:49     ` 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).