Re: [PATCH v2 1/1] s390: vfio-ccw: push down unsupported IDA check

From: Cornelia Huck
Date: Thu May 17 2018 - 04:46:06 EST


On Wed, 16 May 2018 19:33:42 +0200
Halil Pasic <pasic@xxxxxxxxxxxxx> 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 <pasic@xxxxxxxxxxxxx>
> Tested-by: Jason J. Herne <jjherne@xxxxxxxxxxxxx>
> ---
> ---
> drivers/s390/cio/vfio_ccw_cp.c | 19 ++++++++++++++++---
> 1 file changed, 16 insertions(+), 3 deletions(-)

Thanks, applied.