qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] e82597: input: fix input_event_key_number tra


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] e82597: input: fix input_event_key_number trace event
Date: Tue, 01 Apr 2014 10:00:07 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: e82597f6f83bf872677cde37e540882880dcbafe
      
https://github.com/qemu/qemu/commit/e82597f6f83bf872677cde37e540882880dcbafe
  Author: Gerd Hoffmann <address@hidden>
  Date:   2014-04-01 (Tue, 01 Apr 2014)

  Changed paths:
    M trace-events

  Log Message:
  -----------
  input: fix input_event_key_number trace event

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


  Commit: 0419f78fae1d70bb5de0d44be62ec9741c5a742b
      
https://github.com/qemu/qemu/commit/0419f78fae1d70bb5de0d44be62ec9741c5a742b
  Author: Hani Benhabiles <address@hidden>
  Date:   2014-04-01 (Tue, 01 Apr 2014)

  Changed paths:
    M ui/input.c

  Log Message:
  -----------
  input: mouse_set should check input device type.

Otherwise, the index of an input device like a usb-kbd is silently accepted.

(qemu) info mice
  Mouse #2: QEMU PS/2 Mouse
* Mouse #3: QEMU HID Mouse
(qemu) mouse_set 1
(qemu) info mice
  Mouse #2: QEMU PS/2 Mouse
* Mouse #3: QEMU HID Mouse

Also replace monitor_printf() call in do_mouse_set() with error_report() and
adjust error message.

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


  Commit: bdcc3a28b7f6ed6b90ad8b8af7b5d17e0d3f1f06
      
https://github.com/qemu/qemu/commit/bdcc3a28b7f6ed6b90ad8b8af7b5d17e0d3f1f06
  Author: Gerd Hoffmann <address@hidden>
  Date:   2014-04-01 (Tue, 01 Apr 2014)

  Changed paths:
    M ui/input.c

  Log Message:
  -----------
  input: add sanity check

Check we've actually found a input handler before trying to call it.

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


  Commit: 507979a8bda895d56d02112907ccbca753dbbdce
      
https://github.com/qemu/qemu/commit/507979a8bda895d56d02112907ccbca753dbbdce
  Author: Peter Maydell <address@hidden>
  Date:   2014-04-01 (Tue, 01 Apr 2014)

  Changed paths:
    M trace-events
    M ui/input.c

  Log Message:
  -----------
  Merge remote-tracking branch 'remotes/kraxel/tags/pull-input-7' into staging

input bugfixes for 2.0

# gpg: Signature made Tue 01 Apr 2014 10:16:43 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-input-7:
  input: add sanity check
  input: mouse_set should check input device type.
  input: fix input_event_key_number trace event

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


Compare: https://github.com/qemu/qemu/compare/95224e87a71d...507979a8bda8

reply via email to

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