aboutsummaryrefslogtreecommitdiff
path: root/target/s390x/ioinst.c
diff options
context:
space:
mode:
authorDong Jia Shi <bjsdjshi@linux.vnet.ibm.com>2017-05-17 02:48:09 +0200
committerCornelia Huck <cornelia.huck@de.ibm.com>2017-05-19 12:29:01 +0200
commit4886b3e9f00683324c0368b1dec8acb964f4a439 (patch)
tree02e4ecf7f06f1263e4de94673f07e9fd3ef529ed /target/s390x/ioinst.c
parentc14e706ce9a4354c803e8f64bd12148831f888a3 (diff)
downloadqemu-4886b3e9f00683324c0368b1dec8acb964f4a439.zip
qemu-4886b3e9f00683324c0368b1dec8acb964f4a439.tar.gz
qemu-4886b3e9f00683324c0368b1dec8acb964f4a439.tar.bz2
vfio/ccw: get irqs info and set the eventfd fd
vfio-ccw resorts to the eventfd mechanism to communicate with userspace. We fetch the irqs info via the ioctl VFIO_DEVICE_GET_IRQ_INFO, register a event notifier to get the eventfd fd which is sent to kernel via the ioctl VFIO_DEVICE_SET_IRQS, then we can implement read operation once kernel sends the signal. Reviewed-by: Eric Auger <eric.auger@redhat.com> Acked-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com> Message-Id: <20170517004813.58227-10-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