diff options
author | Eric Farman <[email protected]> | 2022-07-07 15:57:34 +0200 |
---|---|---|
committer | Alex Williamson <[email protected]> | 2022-07-07 14:06:12 -0600 |
commit | 62ec0d49e683c25e35927a942c64433878de143c (patch) | |
tree | 9c22729f655b22a790ca611c0c86e9a1b7af512f /lib/mpi/mpi-sub-ui.c | |
parent | 4cc2c051c35639787de1b5797de2cd003bbc98ab (diff) |
vfio/ccw: Create an OPEN FSM Event
Move the process of enabling a subchannel for use by vfio-ccw
into the FSM, such that it can manage the sequence of lifecycle
events for the device.
That is, if the FSM state is NOT_OPER(erational), then do the work
that would enable the subchannel and move the FSM to STANDBY state.
An attempt to perform this event again from any of the other operating
states (IDLE, CP_PROCESSING, CP_PENDING) will convert the device back
to NOT_OPER so the configuration process can be started again.
Signed-off-by: Eric Farman <[email protected]>
Reviewed-by: Jason Gunthorpe <[email protected]>
Reviewed-by: Matthew Rosato <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions