A physical usb mouse becomes invalid when redirected from pc and attached to a
xHCI controller.
The QEMU running command is as follow.
/root/sqx/qemu-root/bin/qemu-system-x86_64 \
-name win7_sqx_qemu \
-machine pc-i440fx-2.1,accel=kvm,usb=off \
-m 1024 \
-realtime mlock=off \
-smp 1,sockets=1,co
QEMU crashes when redirect a usb 3.0 device which attached to a xHCI
controller. The assertion of "dev->state == 3" in "usb_handle_packet" has
failed.
Signed-off-by: Qixiong Su <916628...@qq.com>
---
hw/usb/redirect.c | 12
1 file changed, 12 insert