Re: [PATCH v3 2/6] vfio: ccw: Rework subchannel state on setup

2018-12-19 Thread Pierre Morel
On 18/12/2018 18:44, Eric Farman wrote: My questions to this patch from the original RFC series are still outstanding.  :( https://marc.info/?l=linux-s390=154223063716128=2 Hi Eric, Thanks for the following of this patch series. For your question about quiece during remove I do not think

Re: [PATCH v3 2/6] vfio: ccw: Rework subchannel state on setup

2018-12-18 Thread Eric Farman
My questions to this patch from the original RFC series are still outstanding. :( https://marc.info/?l=linux-s390=154223063716128=2 On 11/28/2018 07:41 AM, Pierre Morel wrote: The subchannel enablement and the according setting to the VFIO_CCW_STATE_STANDBY state should only be done when all

[PATCH v3 2/6] vfio: ccw: Rework subchannel state on setup

2018-11-28 Thread Pierre Morel
The subchannel enablement and the according setting to the VFIO_CCW_STATE_STANDBY state should only be done when all parts of the VFIO mediated device have been initialized i.e. after the mediated device has been successfully opened. Let's stay in VFIO_CCW_STATE_NOT_OPER until the mediated device

[PATCH v3 2/6] vfio: ccw: Rework subchannel state on setup

2018-11-28 Thread Pierre Morel
The subchannel enablement and the according setting to the VFIO_CCW_STATE_STANDBY state should only be done when all parts of the VFIO mediated device have been initialized i.e. after the mediated device has been successfully opened. Let's stay in VFIO_CCW_STATE_NOT_OPER until the mediated device