qemu-kvm 0.15.1 crashes after left click with usb mouse passthrough

Bug #910090 reported by commiethebeastie
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QEMU
Invalid
Undecided
commiethebeastie

Bug Description

qemu-kvm runned the Windows 7 or Windows XP with:

/usr/bin/kvm -smp 2 -cpu Opteron_G3 -device intel-hda -device hda-duplex -vga vmware -enable-kvm -m 768 -localtime -cdrom "/home/user/virtio-win-0.1-15.iso" -drive file=/home/user/media/vbox/windows7,if=virtio -boot once=d,menu=off -net nic,vlan=0,model=virtio -net user,vlan=0 -usb -device usb-host,hostbus=4,hostaddr=2 -name "Windows 7" $*

After installing the HID mouse driver in Windows, I pressed the left button of the mouse and the qemu-kvm crashed with an error:

qemu-kvm-0.15.1/hw/usb.c:336 usb_packet_complete: Assertion `p->owner !=((void*)0)` failed

Mouse model: A4tech XL-750BH

Changed in qemu:
assignee: nobody → commiethebeastie (commiethebeastie)
Revision history for this message
Stefan Hajnoczi (stefanha) wrote : Re: [Qemu-devel] [Bug 910090] [NEW] qemu-kvm 0.15.1 crashes after left click with usb mouse passthrough

On Fri, Dec 30, 2011 at 01:35:08PM -0000, commiethebeastie wrote:
> Public bug reported:
>
> qemu-kvm runned the Windows 7 or Windows XP with:
>
> /usr/bin/kvm -smp 2 -cpu Opteron_G3 -device intel-hda -device hda-
> duplex -vga vmware -enable-kvm -m 768 -localtime -cdrom "/home/user
> /virtio-win-0.1-15.iso" -drive
> file=/home/user/media/vbox/windows7,if=virtio -boot once=d,menu=off -net
> nic,vlan=0,model=virtio -net user,vlan=0 -usb -device usb-
> host,hostbus=4,hostaddr=2 -name "Windows 7" $*
>
> After installing the HID mouse driver in Windows, I pressed the left
> button of the mouse and the qemu-kvm crashed with an error:
>
> qemu-kvm-0.15.1/hw/usb.c:336 usb_packet_complete: Assertion `p->owner
> !=((void*)0)` failed
>
> Mouse model: A4tech XL-750BH
>
> ** Affects: qemu
> Importance: Undecided
> Assignee: commiethebeastie (commiethebeastie)
> Status: New
>
>
> ** Tags: crash passthrough usb
>
> ** Changed in: qemu
> Assignee: (unassigned) => commiethebeastie (commiethebeastie)
>
> --
> You received this bug notification because you are a member of qemu-
> devel-ml, which is subscribed to QEMU.
> https://bugs.launchpad.net/bugs/910090

This is a known bug and has been fixed in qemu.git/master by commit
80cf7cf74f29a219e02b50f27c12b1c792ebf99b.

You can find the patch here:
http://patchwork.ozlabs.org/patch/119448/

Please try the latest qemu.git or qemu-kvm.git, which both contain this
patch.

Stefan

Revision history for this message
commiethebeastie (commiethebeastie) wrote :

Ok, it`s work for me.

Changed in qemu:
status: New → Fix Released
Changed in qemu:
status: Fix Released → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.