qemu-e2k/hw/vfio
Pavel Fedin dc9f06ca81 kvm: Pass PCI device pointer to MSI routing functions
In-kernel ITS emulation on ARM64 will require to supply requester IDs.
These IDs can now be retrieved from the device pointer using new
pci_requester_id() function.

This patch adds pci_dev pointer to KVM GSI routing functions and makes
callers passing it.

x86 architecture does not use requester IDs, but hw/i386/kvm/pci-assign.c
also made passing PCI device pointer instead of NULL for consistency with
the rest of the code.

Signed-off-by: Pavel Fedin <p.fedin@samsung.com>
Message-Id: <ce081423ba2394a4efc30f30708fca07656bc500.1444916432.git.p.fedin@samsung.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2015-10-19 10:13:07 +02:00
..
calxeda-xgmac.c hw/vfio/platform: calxeda xgmac device 2015-06-09 08:17:17 -06:00
common.c vfio: Allow hotplug of containers onto existing guest IOMMU mappings 2015-10-05 12:39:47 -06:00
Makefile.objs vfio/pci: Split quirks to a separate file 2015-09-23 13:04:45 -06:00
pci-quirks.c vfio/pci: Remove use of g_malloc0_n() from quirks 2015-09-23 21:27:17 -06:00
pci.c kvm: Pass PCI device pointer to MSI routing functions 2015-10-19 10:13:07 +02:00
pci.h vfio/pci: Add emulated PCI IDs 2015-09-23 13:04:49 -06:00
platform.c hw/vfio/platform: do not set resamplefd for edge-sensitive IRQS 2015-10-05 12:30:12 -06:00