[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH v4] fix pci_requester_id()

From: Peter Xu
Subject: [Qemu-devel] [PATCH v4] fix pci_requester_id()
Date: Tue, 17 May 2016 19:26:09 +0800

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


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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]