[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] usb-hid: activate usb tablet / mouse after migr
From: |
Peter Lieven |
Subject: |
Re: [Qemu-devel] [PATCH] usb-hid: activate usb tablet / mouse after migration. |
Date: |
Mon, 20 Feb 2012 11:42:00 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110921 Thunderbird/3.1.15 |
On 21.10.2011 11:22, Gerd Hoffmann wrote:
Hi,
Original:
* Mouse #1: QEMU HID Tablet (absolute)
Mouse #0: QEMU PS/2 Mouse
Start from the snapshot:
* Mouse #0: QEMU PS/2 Mouse
Mouse #1: QEMU HID Tablet (absolute)
The active mouse device is not be saved into the snapshot.
That shouldn't hurt though. When the guest polls the tablet the first
time after starting from snapshot should activate it. In case it the
guest doesn't pull because the guest activated remote wakeup and
suspended the device we now (with the patch) activate it too.
It also doesn't reproduce here. /me wonders what is going on ...
What does 'info usb' print before and after snapshotting?
Can you also post the full qemu command line?
I see the same issue here, but not in my case it happens when migrating
a VM.
Before migration:
(qemu) info usb
info usb
Device 0.1, Port 1, Speed 12 Mb/s, Product QEMU USB Tablet
(qemu) info mice
info mice
Mouse #0: QEMU PS/2 Mouse
* Mouse #1: QEMU HID Tablet (absolute)
After migration:
(qemu) info usb
info usb
Device 0.1, Port 1, Speed 12 Mb/s, Product QEMU USB Tablet
(qemu) info mice
info mice
Mouse #1: QEMU HID Tablet (absolute)
* Mouse #0: QEMU PS/2 Mouse
It seems the USB Tablet is not activated again. I can get it working by
manually aktivating and deactivating the USB Hub in Windows Device Manager.
The guest is Windows7 32-bit.
cmdline:
/usr/bin/qemu-kvm-1.0 -net
tap,vlan=141,script=no,downscript=no,ifname=tap0 -net
nic,vlan=141,model=e1000,macaddr=52:54:00:ff:00:d3 -drive
format=host_device,file=/dev/mapper/iqn.2001-05.com.equallogic:0-8a0906-eeef4e007-a8a9f3818674f2fc-lieven-windows7-r80788,if=virtio,cache=writethrough,aio=native
-m 2048 -monitor tcp:0:4001,server,nowait -vnc :1 -name lieven-win7
-boot order=dc,menu=off -k de -pidfile /var/run/qemu/vm-187.pid -rtc
base=localtime -vga std -usb -usbdevice tablet -cpu host
Thanks,
Peter
thanks,
Gerd
- Re: [Qemu-devel] [PATCH] usb-hid: activate usb tablet / mouse after migration.,
Peter Lieven <=