Skip to contentSkip to conversation

USB CCID device

PATCH Alon Levy 1 participant 1 message Oct 6, 2010 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 668252848.649521286402747765.JavaMail.root@zmail06.collab.prod.int.phx2.redhat.com

Alon Levy

author
#1 lore raw
Quoted 14 lines · ----- "Anthony Liguori
Quoted 7 lines · Gerd Hoffmann
Quoted 6 lines · Alon Levy
Quoted 4 lines

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,

Quoted 3 lines
Quoted 1 line

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

Quoted 1 line

effect as a chardev disconnect, i.e. detach the usb device (which

Quoted 9 lines

the

Quoted 1 line

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.

ok, I think I'll go this way.

Quoted 12 lines

Regards,

Anthony Liguori

Quoted 8 lines

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