diff options
author | Xiao Feng Ren <renxiaof@linux.vnet.ibm.com> | 2017-05-17 02:48:10 +0200 |
---|---|---|
committer | Cornelia Huck <cornelia.huck@de.ibm.com> | 2017-05-19 12:29:01 +0200 |
commit | 8ca2b376b47fff58f7ab6f16d86a66d4af3a2be2 (patch) | |
tree | e8cfa27be91fd4fc8b4af613163635d8c400d72a /target/s390x/ioinst.c | |
parent | 4886b3e9f00683324c0368b1dec8acb964f4a439 (diff) | |
download | qemu-8ca2b376b47fff58f7ab6f16d86a66d4af3a2be2.zip qemu-8ca2b376b47fff58f7ab6f16d86a66d4af3a2be2.tar.gz qemu-8ca2b376b47fff58f7ab6f16d86a66d4af3a2be2.tar.bz2 |
s390x/css: introduce and realize ccw-request callback
Introduce a new callback on subchannel to handle ccw-request.
Realize the callback in vfio-ccw device. Besides, resort to
the event notifier handler to handling the ccw-request results.
1. Pread the I/O results via MMIO region.
2. Update the scsw info to guest.
3. Inject an I/O interrupt to notify guest the I/O result.
Acked-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Xiao Feng Ren <renxiaof@linux.vnet.ibm.com>
Signed-off-by: Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com>
Message-Id: <20170517004813.58227-11-bjsdjshi@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