qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [qemu/qemu] 35e83d: input: fix jumpy mouse cursor with US


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 35e83d: input: fix jumpy mouse cursor with USB mouse emula...
Date: Tue, 01 Jul 2014 09:30:05 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 35e83d10f230616888cc4258ceddf06a612dde8a
      
https://github.com/qemu/qemu/commit/35e83d10f230616888cc4258ceddf06a612dde8a
  Author: Christian Burger <address@hidden>
  Date:   2014-07-01 (Tue, 01 Jul 2014)

  Changed paths:
    M hw/input/hid.c

  Log Message:
  -----------
  input: fix jumpy mouse cursor with USB mouse emulation

Guest mouse pointer was jumpy, when moving host mouse in the vertical direction 
(see bug #1327800).

Signed-off-by: Christian Burger <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: c340a284f382a5f40774521f41b4bade76ddfa58
      
https://github.com/qemu/qemu/commit/c340a284f382a5f40774521f41b4bade76ddfa58
  Author: Hani Benhabiles <address@hidden>
  Date:   2014-07-01 (Tue, 01 Jul 2014)

  Changed paths:
    M hw/usb/dev-bluetooth.c

  Log Message:
  -----------
  usb: Fix usb-bt-dongle initialization.

Due to an incomplete initialization, adding a usb-bt-dongle device through HMP
or QMP will cause a segmentation fault.

Signed-off-by: Hani Benhabiles <address@hidden>
Reviewed-by: Paolo Bonzini <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 3ce21445387c64032a21ae73c995195307a28a36
      
https://github.com/qemu/qemu/commit/3ce21445387c64032a21ae73c995195307a28a36
  Author: Jincheng Miao <address@hidden>
  Date:   2014-07-01 (Tue, 01 Jul 2014)

  Changed paths:
    M hw/usb/host-libusb.c

  Log Message:
  -----------
  usb: initialize libusb_device to avoid crash

If libusb_get_device_list() fails, the uninitialized local variable
libusb_device would be passed to libusb_free_device_list(), that
will cause a crash, like:
(gdb) bt
 #0  0x00007fbbb4bafc10 in pthread_mutex_lock () from /lib64/libpthread.so.0
 #1  0x00007fbbb233e653 in libusb_unref_device (dev=0x6275682d627375)
     at core.c:902
 #2  0x00007fbbb233e739 in libusb_free_device_list (list=0x7fbbb6e8436e,
     unref_devices=<optimized out>) at core.c:653
 #3  0x00007fbbb6cd80a4 in usb_host_auto_check (address@hidden)
     at hw/usb/host-libusb.c:1446
 #4  0x00007fbbb6cd8525 in usb_host_initfn (udev=0x7fbbbd3c5670)
     at hw/usb/host-libusb.c:912
 #5  0x00007fbbb6cc123b in usb_device_init (dev=0x7fbbbd3c5670)
     at hw/usb/bus.c:106
 ...

So initialize libusb_device at the begin time.

Signed-off-by: Jincheng Miao <address@hidden>
Reviewed-by: Gonglei <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: c1129f6bffb6fc756f53c06bc554a7997b1f4be4
      
https://github.com/qemu/qemu/commit/c1129f6bffb6fc756f53c06bc554a7997b1f4be4
  Author: Paolo Bonzini <address@hidden>
  Date:   2014-07-01 (Tue, 01 Jul 2014)

  Changed paths:
    M hw/usb/ccid-card-emulated.c

  Log Message:
  -----------
  ccid-card-emulated: use EventNotifier

Shut up Coverity's complaint about unchecked fcntl return values,
and especially make the code simpler and more efficient.

Signed-off-by: Paolo Bonzini <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: 596742db3341390dfd386ec434165e0118cfc0f8
      
https://github.com/qemu/qemu/commit/596742db3341390dfd386ec434165e0118cfc0f8
  Author: Peter Maydell <address@hidden>
  Date:   2014-07-01 (Tue, 01 Jul 2014)

  Changed paths:
    M hw/input/hid.c
    M hw/usb/ccid-card-emulated.c
    M hw/usb/dev-bluetooth.c
    M hw/usb/host-libusb.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/kraxel/tags/pull-usb-20140701-1' into 
staging

usb bugfixes.

# gpg: Signature made Tue 01 Jul 2014 14:51:19 BST using RSA key ID D3E87138
# gpg: Good signature from "Gerd Hoffmann (work) <address@hidden>"
# gpg:                 aka "Gerd Hoffmann <address@hidden>"
# gpg:                 aka "Gerd Hoffmann (private) <address@hidden>"

* remotes/kraxel/tags/pull-usb-20140701-1:
  ccid-card-emulated: use EventNotifier
  usb: initialize libusb_device to avoid crash
  usb: Fix usb-bt-dongle initialization.
  input: fix jumpy mouse cursor with USB mouse emulation

Signed-off-by: Peter Maydell <address@hidden>


Compare: https://github.com/qemu/qemu/compare/f9119a257296...596742db3341

reply via email to

[Prev in Thread] Current Thread [Next in Thread]