From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Williamson Subject: Re: [RFC PATCH v4 1/3] Mediated device Core driver Date: Mon, 6 Jun 2016 13:31:15 -0600 Message-ID: <20160606133115.15f6e2a8@ul30vt.home> References: <1464119897-10844-1-git-send-email-kwankhede@nvidia.com> <1464119897-10844-2-git-send-email-kwankhede@nvidia.com> <20160603165746.3df39542@oc7835276234> <799479b0-44d5-061f-185a-43df0dba2fb3@nvidia.com> <20160606140148.31ec05f9@oc7835276234> <20160606062742.GA31747@nvidia.com> <20160606162911.7021a02c@oc7835276234> <20160606174425.GA8903@nvidia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Dong Jia , Kirti Wankhede , , , , , , , , To: Neo Jia Return-path: Received: from mx1.redhat.com ([209.132.183.28]:41884 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751297AbcFFTbR (ORCPT ); Mon, 6 Jun 2016 15:31:17 -0400 In-Reply-To: <20160606174425.GA8903@nvidia.com> Sender: kvm-owner@vger.kernel.org List-ID: On Mon, 6 Jun 2016 10:44:25 -0700 Neo Jia wrote: > On Mon, Jun 06, 2016 at 04:29:11PM +0800, Dong Jia wrote: > > On Sun, 5 Jun 2016 23:27:42 -0700 > > Neo Jia wrote: > > > > 2. VFIO_DEVICE_CCW_CMD_REQUEST > > This intends to handle an intercepted channel I/O instruction. It > > basically need to do the following thing: > > May I ask how and when QEMU knows that he needs to issue such VFIO ioctl at > first place? Yep, this is my question as well. It sounds a bit like there's an emulated device in QEMU that's trying to tell the mediated device when to start an operation when we probably should be passing through whatever i/o operations indicate that status directly to the mediated device. Thanks, Alex