diff options
author | Yi Min Zhao | 2016-06-13 13:28:38 +0200 |
---|---|---|
committer | Cornelia Huck | 2016-07-11 09:48:05 +0200 |
commit | 67aad508decdbbce59faa27072daae0d1d31b1ad (patch) | |
tree | f8d061e2963889b62bca5202cd7d9c6a3c9abded /hw/s390x | |
parent | s390x/pci: acceleration for getting S390pciState (diff) | |
download | qemu-67aad508decdbbce59faa27072daae0d1d31b1ad.tar.gz qemu-67aad508decdbbce59faa27072daae0d1d31b1ad.tar.xz qemu-67aad508decdbbce59faa27072daae0d1d31b1ad.zip |
s390x/pci: write fid in CLP_QUERY_PCI_FN
We forgot to write the fid; fix that.
Signed-off-by: Yi Min Zhao <zyimin@linux.vnet.ibm.com>
Acked-by: Pierre Morel <pmorel@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Diffstat (limited to 'hw/s390x')
-rw-r--r-- | hw/s390x/s390-pci-inst.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/s390x/s390-pci-inst.c b/hw/s390x/s390-pci-inst.c index 479375f65d..2cd7d1486a 100644 --- a/hw/s390x/s390-pci-inst.c +++ b/hw/s390x/s390-pci-inst.c @@ -256,6 +256,7 @@ int clp_service_call(S390CPU *cpu, uint8_t r2) stq_p(&resquery->sdma, ZPCI_SDMA_ADDR); stq_p(&resquery->edma, ZPCI_EDMA_ADDR); + stl_p(&resquery->fid, pbdev->fid); stw_p(&resquery->pchid, 0); stw_p(&resquery->ug, 1); stl_p(&resquery->uid, pbdev->fid); |