From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 8 May 2019 11:53:41 +0200 From: Cornelia Huck Subject: Re: [PATCH v1 0/2] New state handling for VFIO CCW Message-ID: <20190508115341.2be6b108.cohuck@redhat.com> In-Reply-To: <1557148270-19901-1-git-send-email-pmorel@linux.ibm.com> References: <1557148270-19901-1-git-send-email-pmorel@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: kvm-owner@vger.kernel.org List-Archive: List-Post: To: Pierre Morel Cc: pasic@linux.vnet.ibm.com, farman@linux.ibm.com, alifm@linux.ibm.com, linux-s390@vger.kernel.org, kvm@vger.kernel.org List-ID: On Mon, 6 May 2019 15:11:08 +0200 Pierre Morel wrote: > 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. I agree with the direction of this patch series. > > 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(-) >