Re: [PATCH v3 6/6] vfio: ccw: serialize the write system calls

2018-12-14 Thread Pierre Morel
On 13/12/2018 16:39, Cornelia Huck wrote: On Wed, 28 Nov 2018 13:41:07 +0100 Pierre Morel wrote: When the user program is QEMU we rely on the QEMU lock to serialize the calls to the driver. In the general case we need to make sure that two data transfer are not started at the same time. It wo

Re: [PATCH v3 6/6] vfio: ccw: serialize the write system calls

2018-12-14 Thread Halil Pasic
On Thu, 13 Dec 2018 16:39:53 +0100 Cornelia Huck wrote: > On Wed, 28 Nov 2018 13:41:07 +0100 > Pierre Morel wrote: > > > When the user program is QEMU we rely on the QEMU lock to serialize > > the calls to the driver. > > > > In the general case we need to make sure that two data transfer are

Re: [PATCH v3 6/6] vfio: ccw: serialize the write system calls

2018-12-13 Thread Cornelia Huck
On Wed, 28 Nov 2018 13:41:07 +0100 Pierre Morel wrote: > When the user program is QEMU we rely on the QEMU lock to serialize > the calls to the driver. > > In the general case we need to make sure that two data transfer are > not started at the same time. > It would in the current implementation