-
Dong Jia Shi authored
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>Dong Jia Shi authoredvfio-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>
Loading