All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Frédéric Grelot" <fredericg_99@yahoo.fr>
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: spice-devel@lists.freedesktop.org, qemu-devel@nongnu.org
Subject: Re: [Spice-devel] [Qemu-devel] RFC: usb redirection over the network, interesting outside of spice?
Date: Mon, 29 Nov 2010 16:10:17 +0100 (CET)	[thread overview]
Message-ID: <29465206.14.1291043417418.JavaMail.root@zimbra.grelot.net> (raw)
In-Reply-To: <4CF3CB17.6000306@redhat.com>

> > Not me at the moment, but unless you tunnel it inside another
> > protocol, you'd really want to look at the existing USB-over-IP
> > protocols instead of reinventing the wheel:
> > http://usbip.sourceforge.net/ (some support in Linux already IIRC)
> > (and there are others which I don't recall)
> 
> Doesn't look very useful on a quick glance.
> 

I'm note sure about what I will say, but will a kernel approach handle specific disconnection/reconnection of devices, that libusb cannot?

I'm thinking in particular of what happens when one updates an iP* (*=hone, ad, odTouch, od) device, where it gets connected and disconnected several times during the process. 
During the updates, the device reboots, generating a disconnection event, and at reboot the guest OS (and iTunes) has to  to catch the reconnection event directly (before iOS loads) to upload the new firmware.
I'm not sure about it, but I think Virtualbox (non-ose) took care of this issue, and updates are now possible in a vm (TbC).

I don't think that an approach at libusb level would work, while I could understand that a kernel module would be able to catch the "connection" event directly, and pipe it through the network to the guest.

I don't know for sure if this use case affects only those devices, nor if it is an objective for spice to allow Apple device updates, but I think it has to be handled at pretty low level, so is worth mentioning before any implementation choices.
Still, if such thing were to work, I think it would be a huge step for all the people in the iP* community that maintain a double boot only because they bought a closed phone once :-)

However, the guest side could be handled at qemu-level, since it would certainly provide an OS-independent implementation without the need for linux-/windows-/other-specific driver.

Frederic.

  reply	other threads:[~2010-11-29 16:25 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20101129101727.2B64E2B679@zimbra14-e2.priv.proxad.net>
2010-11-29 14:33 ` [Qemu-devel] RFC: usb redirection over the network, interesting outside of spice? François Revol
2010-11-29 15:47   ` Gerd Hoffmann
2010-11-29 15:10     ` Frédéric Grelot [this message]
2010-11-29 16:35       ` [Spice-devel] " Gerd Hoffmann
2010-11-29 17:37         ` Attila Sukosd
2010-11-29 17:49           ` Anthony Liguori
2010-11-29 18:07             ` Alexander Graf
2010-11-30  8:54             ` Gerd Hoffmann
2010-11-30 11:26             ` Hans de Goede
2010-11-30 11:32               ` Alon Levy
2010-11-30 12:23                 ` Hans de Goede
2010-12-01 11:04                   ` Paul Brook
2010-12-01 11:49                     ` Hans de Goede
2010-12-01 12:12                       ` Paul Brook
2010-11-29 16:05     ` François Revol
2010-12-01 13:34       ` [Libusb-devel] " Peter Stuge
2010-11-29 17:13     ` Paul Brook
2010-11-30 11:07     ` [Qemu-devel] Using usbip for usb network redirection (was RFC: usb redirection over the network, interesting outside of spice?) Hans de Goede

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=29465206.14.1291043417418.JavaMail.root@zimbra.grelot.net \
    --to=fredericg_99@yahoo.fr \
    --cc=kraxel@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=spice-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.