]> Git Repo - qemu.git/commit - include/hw/s390x/css.h
s390x/css: introduce and realize ccw-request callback
authorXiao Feng Ren <[email protected]>
Wed, 17 May 2017 00:48:10 +0000 (02:48 +0200)
committerCornelia Huck <[email protected]>
Fri, 19 May 2017 10:29:01 +0000 (12:29 +0200)
commit8ca2b376b47fff58f7ab6f16d86a66d4af3a2be2
treee8cfa27be91fd4fc8b4af613163635d8c400d72a
parent4886b3e9f00683324c0368b1dec8acb964f4a439
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 <[email protected]>
Signed-off-by: Xiao Feng Ren <[email protected]>
Signed-off-by: Dong Jia Shi <[email protected]>
Message-Id: <20170517004813[email protected]>
Signed-off-by: Cornelia Huck <[email protected]>
hw/s390x/css.c
hw/vfio/ccw.c
include/hw/s390x/css.h
include/hw/s390x/s390-ccw.h
This page took 0.024764 seconds and 4 git commands to generate.