From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50296) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9ACH-0001Dw-Da for qemu-devel@nongnu.org; Mon, 21 Jul 2014 05:48:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X9AC9-00012H-Pa for qemu-devel@nongnu.org; Mon, 21 Jul 2014 05:47:53 -0400 Received: from mx1.redhat.com ([209.132.183.28]:20845) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X9AC9-0000z5-Ha for qemu-devel@nongnu.org; Mon, 21 Jul 2014 05:47:45 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s6L9lhpm002391 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 21 Jul 2014 05:47:44 -0400 Message-ID: <53CCE1BC.2000004@redhat.com> Date: Mon, 21 Jul 2014 11:47:40 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <53C92048.70809@redhat.com> <1405933944.27264.1.camel@nilsson.home.kraxel.org> In-Reply-To: <1405933944.27264.1.camel@nilsson.home.kraxel.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] USB MTP emulation state? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerd Hoffmann Cc: Stefan Hajnoczi , qemu-devel Il 21/07/2014 11:12, Gerd Hoffmann ha scritto: > On Fr, 2014-07-18 at 15:25 +0200, Paolo Bonzini wrote: >> I took a quick look at the MTP emulation and the first things I noticed are: >> >> * all I/O is synchronous >> >> I guess this is just a limitation of the code > > Correct. > > USB subsystem allows to kick off I/O & return (with the special return > code USB_RET_ASYNC), then signal completion for the usb packet later, > using usb_packet_complete(). > > usb-storage does this for example. > >> * it doesn't use the -fsdev infrastructure >> >> Perhaps we should rename the "root" property to >> x-root to identify it as experimental? >> >> * it doesn't do writes >> >> No idea if this is a limitation of the protocol >> >> Anything we can do before 2.1 is out? > > Given that we are in hard freeze renaming the root property to move it > into experimental namespace is the only reasonable thing IMO. Sounds good, thanks! Paolo