From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Morel Subject: Re: [PATCH 1/3] vfio-ccw: add capabilities chain Date: Fri, 23 Nov 2018 13:28:25 +0100 Message-ID: <853a8421-af17-5130-51b7-3242cc10b989@linux.ibm.com> References: <20181122165432.4437-1-cohuck@redhat.com> <20181122165432.4437-2-cohuck@redhat.com> Reply-To: pmorel@linux.ibm.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Cc: linux-s390@vger.kernel.org, qemu-s390x@nongnu.org, Alex Williamson , qemu-devel@nongnu.org, kvm@vger.kernel.org To: Cornelia Huck , Halil Pasic , Eric Farman , Farhan Ali Return-path: In-Reply-To: <20181122165432.4437-2-cohuck@redhat.com> Content-Language: en-US List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+gceq-qemu-devel2=m.gmane.org@nongnu.org Sender: "Qemu-devel" List-Id: kvm.vger.kernel.org On 22/11/2018 17:54, Cornelia Huck wrote: > Allow to extend the regions used by vfio-ccw. The first user will be > handling of halt and clear subchannel. >=20 > Signed-off-by: Cornelia Huck > --- > drivers/s390/cio/vfio_ccw_ops.c | 182 ++++++++++++++++++++++++---= - > drivers/s390/cio/vfio_ccw_private.h | 38 ++++++ > include/uapi/linux/vfio.h | 1 + > 3 files changed, 195 insertions(+), 26 deletions(-) >=20 Halt and clear have no parameters (the sub-channel ID is obviously the=20 one of the mediated device). Isn't adding a new sub-region for the purpose of handling halt and clear=20 superfluous? What is the reason not to use simple ioctls ? Regards, Pierre --=20 Pierre Morel Linux/KVM/QEMU in B=C3=B6blingen - Germany