Changes since v3: - patches 2/6 and 3/6 merged; I amended the commit message, but kept the R-b; - an empty line in patch 4/6 removed; Sources are avalable at: https://github.com/a-gordeev/kvm-unit-tests.git pci-fixes-v4 Cc: Thomas Huth <thuth@xxxxxxxxxx> Cc: Andrew Jones <drjones@xxxxxxxxxx> Cc: Peter Xu <peterx@xxxxxxxxxx> Alexander Gordeev (5): pci: pci-host-generic: Use INVALID_PHYS_ADDR instead of ~0 pci: Accomodate 64 bit BARs in pci_dev::resource[] pci: Turn struct pci_dev into device handle for PCI functions pci: Rework pci_bar_is_valid() pci: Make PCI API consistent wrt using struct pci_dev lib/pci-host-generic.c | 4 +-- lib/pci.c | 92 ++++++++++++++++++++++++++++---------------------- lib/pci.h | 5 ++- x86/intel-iommu.c | 2 +- x86/vmexit.c | 1 - 5 files changed, 56 insertions(+), 48 deletions(-) -- 1.8.3.1