Bug 808284 - Booting guest with multiple video/usb tablets devices lead to winxpsp3 guest BSOD
Summary: Booting guest with multiple video/usb tablets devices lead to winxpsp3 guest ...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm
Version: 6.3
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: rc
: ---
Assignee: Gerd Hoffmann
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-30 03:20 UTC by juzhang
Modified: 2012-07-03 10:47 UTC (History)
14 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-07-03 10:47:41 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description juzhang 2012-03-30 03:20:28 UTC
Description of problem:
This issue is separated from bz806230, Boot guest with three video/usb tablets devices,

Version-Release number of selected component (if applicable):
qemu-kvm-265.el6
qxl:qxl-win-0.1-14

How reproducible:
100%

Steps to Reproduce:
1.Boot guest with three qxl devices and usb-tablet
/usr/libexec/qemu-kvm -M rhel6.3.0 -enable-kvm -m 1024 -smp
1,sockets=1,cores=1,threads=1 -name xp -uuid
18585065-c348-1c4f-46b9-fdfee279543b -nodefconfig -nodefaults -rtc base=utc
-no-shutdown -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -device
virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x5 -drive
file=/root/winxp-sp3.qcow2,if=none,id=drive-ide0-0-0,format=qcow2,cache=none
-device ide-drive,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1 -netdev
tap,id=hostnet0 -device
rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:3a:5f:6c,bus=pci.0,addr=0x3
-chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0
-chardev spicevmc,id=charchannel0,name=vdagent -device
virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0
-spice port=5900,disable-ticketing -vga qxl -global qxl-vga.vram_size=67108864
-device qxl,id=video1,vram_size=67108864,bus=pci.0,addr=0x7 -device
qxl,id=video2,vram_size=67108864,bus=pci.0,addr=0x8 -device
intel-hda,id=sound0,bus=pci.0,addr=0x4 -device
hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -device
virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6 -monitor stdio
qemu-kvm-0.12.1.2-2.265.el6.x86_64 -device usb-tablet,id=input0
-device usb-tablet,id=input1 -device usb-tablet,id=input2
2.
3.
  
Actual results:
Windowxpsp3 got bsod


Expected results:
Guest works well.

Additional info:
1.Also tried win7-64, did not hit BSOD, just mouse can not move in extend desktop
2.Removing usb tablet,can not hit this problem

Comment 2 Gerd Hoffmann 2012-03-30 14:10:48 UTC
No need for a multihead setup.  Just two tablets are enough to trigger.  Investigating.

Comment 9 Ademar Reis 2012-04-18 17:33:35 UTC
The patches have been self-nacked by Gerd. Sorry for the noise.

Comment 10 Gerd Hoffmann 2012-04-20 12:49:00 UTC
Same root cause like bug 813713, devices need unique serial numbers.
For hid devices we can't just do that easily though as we (ab-)use the fixed serial number "42" to signal remote wakeup support working correctly.

Comment 12 Gerd Hoffmann 2012-07-03 10:47:41 UTC
Let's go for a simple "don't do that then", multiple usb hid devices of the same kind are a pretty pointless setup, qemu will route input events to a single device only anyway.


Note You need to log in before you can comment on or make changes to this bug.