[pve-devel] Fix tablet as default pointer after live migration

Derumier Alexandre aderumier at odiso.com
Mon Feb 27 13:45:00 CET 2012


They are a bug in qemu > 1.0, when we live migrate a vm,
tablet usb device is not set as default mouse.

before migration

# info mice
  Mouse #0: QEMU PS/2 Mouse
* Mouse #1: QEMU HID Tablet (absolute)

after live migrate

# info mice
  Mouse #1: QEMU HID Tablet (absolute)
* Mouse #0: QEMU PS/2 Mouse

This patch send "mouse_set 1" at vm start.

I have tested it, it's works without bug. User report it's working fine too.

Refs:

https://bugzilla.proxmox.com/show_bug.cgi?id=98

http://forum.proxmox.com/threads/8455-2-0RC1-Live-Migration-VM-Crashes-after-a-few-minutes?p=48074#post48074




More information about the pve-devel mailing list