projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7d3369
)
s390x/pci: write fid in CLP_QUERY_PCI_FN
author
Yi Min Zhao
<zyimin@linux.vnet.ibm.com>
Mon, 13 Jun 2016 11:28:38 +0000
(19:28 +0800)
committer
Cornelia Huck
<cornelia.huck@de.ibm.com>
Mon, 11 Jul 2016 07:48:05 +0000
(09:48 +0200)
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>
hw/s390x/s390-pci-inst.c
patch
|
blob
|
history
diff --git
a/hw/s390x/s390-pci-inst.c
b/hw/s390x/s390-pci-inst.c
index 479375f65d5b619192c2a15d824f018460706b95..2cd7d1486a1d9850815c95222533c9b749aa92ae 100644
(file)
--- 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);