Re: [PATCH 1/2] vfio: ccw: bypass bad idaw address when fetching IDAL ccws

2017-10-16 Thread Cornelia Huck
On Wed, 11 Oct 2017 04:38:21 +0200 Dong Jia Shi wrote: > We currently returns the same error code (-EFAULT) to indicate two s/returns/return/ > different error cases: > 1. a bug in vfio-ccw implementation has been found. > 2. a buggy channel program has been detected. > > This brings difficult

[PATCH 1/2] vfio: ccw: bypass bad idaw address when fetching IDAL ccws

2017-10-10 Thread Dong Jia Shi
We currently returns the same error code (-EFAULT) to indicate two different error cases: 1. a bug in vfio-ccw implementation has been found. 2. a buggy channel program has been detected. This brings difficulty for userland program (specifically Qemu) to handle. Let's use -EFAULT to only indicate