Skip to content

New state handling for VFIO CCW

Pierre Morel kvm linux-s390 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2vfio-ccw: Set subchannel state STANDBY on opendrivers/s390/cio/vfio_ccw_drv.c drivers/s390/cio/vfio_ccw_ops.c+19 -273 replies
2/2vfio-ccw: rework sch_eventdrivers/s390/cio/vfio_ccw_drv.c drivers/s390/cio/vfio_ccw_fsm.c drivers/s390/cio/vfio_ccw_ops.c +1 more+3 -181 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/2] New state handling for VFIO CCW

Hi,

I did not integrate all my patches for state handling like I had before but just two patches which seems interresting to me:

- The first one allows the device ti be used only when a guest is currently using it.
Otherwise the device is in NOT_OPER state

- The second rework the sch_event callback: AFAIU we can not consider that the event moves the device in IDLE state. I think we better let it as it is currently.

Regards,
Pierre

Pierre Morel (2):
vfio-ccw: Set subchannel state STANDBY on open
vfio-ccw: rework sch_event

 drivers/s390/cio/vfio_ccw_drv.c     | 21 ++-------------------
 drivers/s390/cio/vfio_ccw_fsm.c     |  7 +------
 drivers/s390/cio/vfio_ccw_ops.c     | 36 ++++++++++++++++++------------------
 drivers/s390/cio/vfio_ccw_private.h |  1 -
 4 files changed, 21 insertions(+), 44 deletions(-)
Signature · 1 line
2.7.4