Re: [Qemu-devel] [PATCH 2/4] s390x/pci: remove idx from msix msg data

2017-08-28 Thread Yi Min Zhao
在 2017/8/28 下午11:04, Cornelia Huck 写道: On Mon, 28 Aug 2017 10:04:45 +0200 Yi Min Zhao wrote: PCIDevcie pointer has been a parameter of kvm_arch_fixup_msi_route(). s/PCIDevcie/PCIDevice Thanks! So we don't need to store zpci idx in msix message data to find out the specific zpci device.

Re: [Qemu-devel] [PATCH 2/4] s390x/pci: remove idx from msix msg data

2017-08-28 Thread Cornelia Huck
On Mon, 28 Aug 2017 10:04:45 +0200 Yi Min Zhao wrote: > PCIDevcie pointer has been a parameter of kvm_arch_fixup_msi_route(). s/PCIDevcie/PCIDevice/ > So we don't need to store zpci idx in msix message data to find out the > specific zpci device. Instead, we could use pci device id to find its

[Qemu-devel] [PATCH 2/4] s390x/pci: remove idx from msix msg data

2017-08-28 Thread Yi Min Zhao
PCIDevcie pointer has been a parameter of kvm_arch_fixup_msi_route(). So we don't need to store zpci idx in msix message data to find out the specific zpci device. Instead, we could use pci device id to find its corresponding zpci device. Signed-off-by: Yi Min Zhao --- hw/s390x/s390-pci-bus.c |