From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cornelia Huck Subject: Re: [PATCH v2 1/1] s390: vfio-ccw: push down unsupported IDA check Date: Thu, 17 May 2018 11:42:56 +0200 Message-ID: <20180517114256.0ee945c1.cohuck@redhat.com> References: <20180516173342.15174-1-pasic@linux.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Dong Jia Shi , "Jason J. Herne" , linux-s390@vger.kernel.org, kvm@vger.kernel.org, linux-kernel@vger.kernel.org To: Halil Pasic Return-path: In-Reply-To: <20180516173342.15174-1-pasic@linux.ibm.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org On Wed, 16 May 2018 19:33:42 +0200 Halil Pasic wrote: > There is at least one relevant guest OS that doesn't set the IDA flags in > the ORB as we would like them, but never uses any IDA. So instead of > saying -EOPNOTSUPP when observing an ORB, such that a channel program > specified by it could be a not supported one, let us say -EOPNOTSUPP only > if the channel program is a not supported one. > > Of course, the real solution would be doing proper translation for all > IDA. This is possible, but given the current code not straight forward. > > Signed-off-by: Halil Pasic > Tested-by: Jason J. Herne > --- > --- > drivers/s390/cio/vfio_ccw_cp.c | 19 ++++++++++++++++--- > 1 file changed, 16 insertions(+), 3 deletions(-) Thanks, applied.