Re: [Qemu-devel] [PATCH v5 3/3] kvm: Pass PCI device pointer to MSI routing functions

2015-10-15 Thread Pavel Fedin
Hello! > Should the pci_dev be passed to kvm_arch_fixup_msi_route() as well? > Currently, the only implementer of this function (s390x) does not need > it; but it shouldn't hurt? Yes, it shouldn't. I didn't pass it there exactly because of this reason. However, &kroute is also passed to this f

Re: [Qemu-devel] [PATCH v5 3/3] kvm: Pass PCI device pointer to MSI routing functions

2015-10-15 Thread Cornelia Huck
On Thu, 15 Oct 2015 14:05:17 +0300 Pavel Fedin wrote: > 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 ma

[Qemu-devel] [PATCH v5 3/3] kvm: Pass PCI device pointer to MSI routing functions

2015-10-15 Thread Pavel Fedin
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 I