mbox series

[RFC,0/2] vfio-ccw: Implement request notifier

Message ID 20201117032605.56831-1-farman@linux.ibm.com
Headers show
Series vfio-ccw: Implement request notifier | expand

Message

Eric Farman Nov. 17, 2020, 3:26 a.m. UTC
This is the corresponding QEMU code for the kernel series posted here:

https://lore.kernel.org/kvm/20201117032139.50988-1-farman@linux.ibm.com/

Long story short, when a device disappears because of a subchannel
event, userspace can receive a notification that the device should
be released as it is no longer usable. This implements that for the
vfio-ccw interface.

Eric Farman (2):
  Update linux headers
  vfio-ccw: Connect the device request notifier

 hw/vfio/ccw.c              | 40 ++++++++++++++++++++++++++++++++++----
 linux-headers/linux/vfio.h |  1 +
 2 files changed, 37 insertions(+), 4 deletions(-)