diff options
| author | Pavel Fedin | 2015-10-15 15:44:52 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2015-10-19 10:13:07 +0200 |
| commit | dc9f06ca81e6e16d062ec382701142a3a2ab3f7d (patch) | |
| tree | 9f68dff9bf915859afa99189a66287fb45c3d71b /target-mips | |
| parent | hw/pci: Introduce pci_requester_id() (diff) | |
| download | qemu-dc9f06ca81e6e16d062ec382701142a3a2ab3f7d.tar.gz qemu-dc9f06ca81e6e16d062ec382701142a3a2ab3f7d.tar.xz qemu-dc9f06ca81e6e16d062ec382701142a3a2ab3f7d.zip | |
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>
Diffstat (limited to 'target-mips')
| -rw-r--r-- | target-mips/kvm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-mips/kvm.c b/target-mips/kvm.c index d287d42883..12d7db311e 100644 --- a/target-mips/kvm.c +++ b/target-mips/kvm.c @@ -678,7 +678,7 @@ int kvm_arch_get_registers(CPUState *cs) } int kvm_arch_fixup_msi_route(struct kvm_irq_routing_entry *route, - uint64_t address, uint32_t data) + uint64_t address, uint32_t data, PCIDevice *dev) { return 0; } |
