[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] USB MTP emulation state?
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] USB MTP emulation state? |
Date: |
Mon, 21 Jul 2014 11:47:40 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
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