Skip to contentSkip to conversation

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

Qemu-devel commiethebeastie 2 participants 4 messages Dec 30, 2011

lore
Share & tools
lore
#0 lore raw

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)

Signature · 30 lines
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

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

Status in QEMU:
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/910090/+subscriptions
#1 lore raw
Quoted 25 lines · commiethebeastie

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

Quoted 9 lines

** Tags: crash passthrough usb

** Changed in: qemu
Assignee: (unassigned) => commiethebeastie (commiethebeastie)

Signature · 3 lines
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

#2 lore raw
In reply to commiethebeastie

Ok, it`s work for me.

** Changed in: qemu
Status: New => Fix Released

Signature · 30 lines
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

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

Status in QEMU:
  Fix Released

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/910090/+subscriptions
#3 lore raw
In reply to commiethebeastie

** Changed in: qemu
Status: Fix Released => Invalid

Signature · 30 lines
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

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

Status in QEMU:
  Invalid

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/910090/+subscriptions