qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v4] fix pci_requester_id()
@ 2016-05-17 11:26 Peter Xu
  2016-05-17 11:26 ` [Qemu-devel] [PATCH v4] pci: " Peter Xu
  2016-06-07 14:02 ` [Qemu-devel] [PATCH v4] " Peter Xu
  0 siblings, 2 replies; 3+ messages in thread
From: Peter Xu @ 2016-05-17 11:26 UTC (permalink / raw)
  To: qemu-devel; +Cc: mst, pbonzini, jan.kiszka, rkrcmar, alex.williamson, peterx

v4 changes:

Introduced PCIReqIDCache struct. Since PCI bus number may be
changing during time, we need to cache the device that we can fetch
requester_id from. Meanwhile, we need to cache how we should extract
reqid from the cache. Currently there are two kinds:

- BDF: directly fetch BDF from the cached device
- SECONDARY_BUS: this is only used when device are under pcie-to-pci
  bridges.

Thanks,

Peter Xu (1):
  pci: fix pci_requester_id()

 hw/i386/kvm/pci-assign.c |  2 +-
 hw/pci/pci.c             | 76 ++++++++++++++++++++++++++++++++++++++++++++++++
 include/hw/pci/pci.h     | 26 +++++++++++++++--
 3 files changed, 101 insertions(+), 3 deletions(-)

-- 
2.4.11

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

end of thread, other threads:[~2016-06-07 14:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-17 11:26 [Qemu-devel] [PATCH v4] fix pci_requester_id() Peter Xu
2016-05-17 11:26 ` [Qemu-devel] [PATCH v4] pci: " Peter Xu
2016-06-07 14:02 ` [Qemu-devel] [PATCH v4] " Peter Xu

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