Description of problem:
Windows guest(Xp/Windows 7).
After migration, the client mouse turns to server mouse.
After restarting the agent, client mouse is back.
After migration, qemu_chr_open_spice is not called, and the spice server is not aware of the vdagent's char device. From what I see, Virtio doesn't have special callbacks for loadvm and it doesn't calls the 'open' callbacks of the char devices upon loadvm.
Whose responsibility should it be?
The bug is not in the spice-server component, closing as not a bug, the solution is on the qmeu-kvm component: RHBZ#725965 (which is now in POST, and has four acks so it should be built Any Time Now).
Sounds fine. I don't know what the correct thing here is, both sound good, but your solution sounds better.
*** This bug has been marked as a duplicate of bug 725965 ***