[Qemu-devel] [Question] a physical usb mouse becomes invalid when redirected and attached to a xHCI controller

2016-01-28 Thread Qixiong Su
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-devel] [PATCH 1/1] redirect: change the state after attach usb 3.0 devices to xhci

2016-01-28 Thread Qixiong Su
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