diff options
author | Yi Min Zhao | 2017-09-05 12:12:58 +0200 |
---|---|---|
committer | Cornelia Huck | 2017-09-19 18:21:32 +0200 |
commit | ceb7054fd4f00c4893938bfb23688f79be0fa782 (patch) | |
tree | 6d1ca6835a26e1f696061a840cb11700e60c1336 /hw/s390x/s390-pci-stub.c | |
parent | tests: Enable the drive_del test also on s390x (diff) | |
download | qemu-ceb7054fd4f00c4893938bfb23688f79be0fa782.tar.gz qemu-ceb7054fd4f00c4893938bfb23688f79be0fa782.tar.xz qemu-ceb7054fd4f00c4893938bfb23688f79be0fa782.zip |
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>
Diffstat (limited to 'hw/s390x/s390-pci-stub.c')
-rw-r--r-- | hw/s390x/s390-pci-stub.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/s390x/s390-pci-stub.c b/hw/s390x/s390-pci-stub.c index 7a642d376c..ad4c5a7719 100644 --- a/hw/s390x/s390-pci-stub.c +++ b/hw/s390x/s390-pci-stub.c @@ -70,7 +70,8 @@ S390pciState *s390_get_phb(void) return NULL; } -S390PCIBusDevice *s390_pci_find_dev_by_idx(S390pciState *s, uint32_t idx) +S390PCIBusDevice *s390_pci_find_dev_by_target(S390pciState *s, + const char *target) { return NULL; } |