diff options
author | Yi Min Zhao <zyimin@linux.vnet.ibm.com> | 2016-06-15 17:09:10 +0800 |
---|---|---|
committer | Cornelia Huck <cornelia.huck@de.ibm.com> | 2016-07-11 09:48:05 +0200 |
commit | 0a608a6e132abffa8fd9455e2354a47acb95847e (patch) | |
tree | 611a414b0c2fcc75f0ae5a5ffcd29319d852ee70 /target-s390x/ioinst.c | |
parent | 4e3bfc167d9cc9c9e3c26eb15cb06439547f0533 (diff) | |
download | qemu-0a608a6e132abffa8fd9455e2354a47acb95847e.zip |
s390x/pci: fix stpcifc_service_call
Firstly the function misses dmaas checking. This patch adds it.
Secondly the function uses s390_pci_find_dev_by_fh() to look up the
zpci device. This may fail if the guest provides a valid and disabled
fh but fh of the associated zpci device is enabled. Thus we use
s390_pci_find_dev_by_idx() instead.
Signed-off-by: Yi Min Zhao <zyimin@linux.vnet.ibm.com>
Reviewed-by: Pierre Morel <pmorel@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Diffstat (limited to 'target-s390x/ioinst.c')
0 files changed, 0 insertions, 0 deletions