s390x/pci: remove idx from msix msg data
commitceb7054fd4f00c4893938bfb23688f79be0fa782
authorYi Min Zhao <zyimin@linux.vnet.ibm.com>
Tue, 5 Sep 2017 10:12:58 +0000 (5 12:12 +0200)
committerCornelia Huck <cohuck@redhat.com>
Tue, 19 Sep 2017 16:21:32 +0000 (19 18:21 +0200)
tree6d1ca6835a26e1f696061a840cb11700e60c1336
parent2f84a92ec631f5907207990705a22afb9aad3eef
s390x/pci: remove idx from msix msg data

PCIDevice 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 <zyimin@linux.vnet.ibm.com>
Message-Id: <1504606380-49341-2-git-send-email-zyimin@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
hw/s390x/s390-pci-bus.c
hw/s390x/s390-pci-bus.h
hw/s390x/s390-pci-inst.c
hw/s390x/s390-pci-stub.c
target/s390x/kvm.c