On 10/06/2010 03:55 AM, Gerd Hoffmann wrote:
On 10/06/10 02:28, Alon Levy wrote:


Does this work with live migration?  I can't see how it would.


No, it doesn't right now. It would require cooperation with the client,
to tell it to reconnect to the target qemu (kind of like spice).

I think until we have this migration should have pretty much the same effect as a chardev disconnect, i.e. detach the usb device (which the guest will see as unplug).

Better yet, mark the guest as unmigrateable and let the management tool unplug the usb device before migration and replug it after migration.

It's the same principle behind device assignment.

Regards,

Anthony Liguori

Needs some code though, at minimum you'll have to xfer the connected state from the migration source and have some bits in post_load() which do attach/detach if needed.

cheers,
  Gerd



Reply via email to