Here is a new pass at the channel-path handling code for vfio-ccw, to take advantage of the corresponding kernel patches posted here:
https://lore.kernel.org/kvm/20200417023001.65006-1-far...@linux.ibm.com/ Per the discussion in v2, I dropped the EIO-to-CC3 patch from the head of the series. I also added a patch to refactor css_queue_crw(), so we can get a CRW queued with a fully-qualified CRW we get out of this region instead of extracting/recreating it. Besides that, changes should be in the git notes for each patch. v2: https://lore.kernel.org/qemu-devel/20200206214509.16434-1-far...@linux.ibm.com/ v1: https://lore.kernel.org/qemu-devel/20191115033437.37926-1-far...@linux.ibm.com/ Eric Farman (3): vfio-ccw: Refactor cleanup of regions vfio-ccw: Refactor ccw irq handler s390x/css: Refactor the css_queue_crw() routine Farhan Ali (4): linux-headers: update vfio-ccw: Add support for the schib region vfio-ccw: Add support for the crw region vfio-ccw: Add support for the CRW irq hw/s390x/css.c | 57 ++++++--- hw/s390x/s390-ccw.c | 28 +++++ hw/vfio/ccw.c | 203 +++++++++++++++++++++++++++++---- include/hw/s390x/css.h | 4 +- include/hw/s390x/s390-ccw.h | 1 + linux-headers/linux/vfio.h | 40 +++++++ linux-headers/linux/vfio_ccw.h | 18 +++ target/s390x/ioinst.c | 3 +- 8 files changed, 313 insertions(+), 41 deletions(-) -- 2.17.1