From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38460) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZe3o-0007ri-FR for qemu-devel@nongnu.org; Wed, 09 Sep 2015 08:01:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZZe3k-0000eZ-G4 for qemu-devel@nongnu.org; Wed, 09 Sep 2015 08:01:08 -0400 Received: from mx1.redhat.com ([209.132.183.28]:51226) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZe3k-0000dl-Bw for qemu-devel@nongnu.org; Wed, 09 Sep 2015 08:01:04 -0400 Message-ID: <1441800060.27149.50.camel@redhat.com> From: Gerd Hoffmann Date: Wed, 09 Sep 2015 14:01:00 +0200 In-Reply-To: <55F019F6.30506@suse.com> References: <1441277113-30693-1-git-send-email-jgross@suse.com> <1441277113-30693-3-git-send-email-jgross@suse.com> <1441373109.19555.7.camel@redhat.com> <55F019F6.30506@suse.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [Patch V1 2/3] xen/usb: add capability for passing through isoc jobs to host devices List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Juergen Gross Cc: xen-devel@lists.xensource.com, qemu-devel@nongnu.org, stefano.stabellini@eu.citrix.com Hi, > > So, the signaling needs to be different. The host adapter needs to > > signal somehow that it can handle async iso packets. One way would be > > to flag this per usb bus, another one per usb packet. Also all xen > > naming and the xen inlude should go away. BTW: does this build without > > xen-devel installed? > > Okay, I'll try to make it more generic. I think the async iso capability > should be a bus attribute. Makes sense. > > Can we get rid of the callbacks? By filling the USBPacket iovec with > > the iso request chunks for example? > > Difficult. One iso request chunk could require multiple iovec entries. Why multiple small iovecs instead of one big iovec? usb_host_req_complete_iso_xen() returns a single status for the whole USBPacket anyway ... > The RFC version tried to avoid the callbacks and there you didn't like > exposing the additional structures. -ENOPATCH. cheers, Gerd