qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Hans de Goede <hdegoede@redhat.com>
To: Gerd Hoffmann <kraxel@redhat.com>
Cc: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: [Qemu-devel] [PULL for usb-next]: Add support for live-migration to usb-redir (v2)
Date: Fri, 07 Sep 2012 21:38:13 +0200	[thread overview]
Message-ID: <504A4D25.7080901@redhat.com> (raw)

Hi Gerd,

I'm very happy to present to you a pull-request for usb-redir
live-migration support. I've tested this combined with Spice
seamless migration, and it can successful:
1) migrate a vm while running "dd if=/dev/zero of=/dev/sdb1 bs=32K"
inside the guest with sdb being a redirect USB-2 mass storage device.
2) migrate a vm while running camorama inside the vm showing a 720p
video from a redirected USB-2 webcam at 30 fps!

Note this is based on usb-next rather then master / usb.62,
since one of my patches would otherwise conflict with your recent
ehci changes.

Changes in v2:
- As discussed drop the "usb: Migrate over device speed and speedmask" patch

The following changes since commit a44fd2e0c66b2276f586948702e5ebc7136fdb73:

   usb-host: allow emulated (non-async) control requests without USBPacket (2012-09-06 12:03:41 +0200)

are available in the git repository at:

   git://people.freedesktop.org/~jwrdegoede/qemu usb-for-gerd

for you to fetch changes up to 6ef0b771704ca898a44c1f9ea41ab98590fc2e84:

   usb-redir: Add chardev open / close debug logging (2012-09-07 21:27:16 +0200)

----------------------------------------------------------------
Hans de Goede (8):
       ehci: Don't set seen to 0 when removing unseen queue-heads
       ehci: Walk async schedule before and after migration
       ehci: Don't process too much frames in 1 timer tick
       usb-redir: Change cancelled packet code into a generic packet-id queue
       usb-redir: Add an already_in_flight packet-id queue
       usb-redir: Store max_packet_size in endp_data
       usb-redir: Add support for migration
       usb-redir: Add chardev open / close debug logging

  hw/usb/hcd-ehci.c |  61 ++++++-
  hw/usb/redirect.c | 500 ++++++++++++++++++++++++++++++++++++++++++++++++++----
  2 files changed, 522 insertions(+), 39 deletions(-)

Thanks & Regards,

Hans

                 reply	other threads:[~2012-09-07 19:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=504A4D25.7080901@redhat.com \
    --to=hdegoede@redhat.com \
    --cc=kraxel@redhat.com \
    --cc=qemu-devel@nongnu.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).