qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] 91ec41: vnc: send cursor when a new client is


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] 91ec41: vnc: send cursor when a new client is connecting
Date: Wed, 09 Mar 2016 21:00:07 -0800

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: 91ec41dc3f9cf28f93af0630b20ba8e7dcefa16b
      
https://github.com/qemu/qemu/commit/91ec41dc3f9cf28f93af0630b20ba8e7dcefa16b
  Author: Frediano Ziglio <address@hidden>
  Date:   2016-03-08 (Tue, 08 Mar 2016)

  Changed paths:
    M ui/vnc.c

  Log Message:
  -----------
  vnc: send cursor when a new client is connecting

If you have hardware cursor and you are reconnecting the VNC client
you need to send the cursor. Failing to do so make the cursor invisible
till is changed.

Signed-off-by: Frediano Ziglio <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: e0d2bd5195fdc032c8da566027a35a97aaa0394b
      
https://github.com/qemu/qemu/commit/e0d2bd5195fdc032c8da566027a35a97aaa0394b
  Author: Gerd Hoffmann <address@hidden>
  Date:   2016-03-08 (Tue, 08 Mar 2016)

  Changed paths:
    M include/ui/input.h
    M qemu-options.hx
    M ui/Makefile.objs
    A ui/input-linux.c
    M vl.c

  Log Message:
  -----------
  input: linux evdev support

This patch adds support for reading input events directly from linux
evdev devices and forward them to the guest.  Unlike virtio-input-host
which simply passes on all events to the guest without looking at them
this will interpret the events and feed them into the qemu input
subsystem.

Therefore this is limited to what the qemu input subsystem and the
emulated input devices are able to handle.  Also there is no support for
absolute coordinates (tablet/touchscreen).  So we are talking here about
basic mouse and keyboard support.

The advantage is that it'll work without virtio-input drivers in the
guest, the events are delivered to the usual ps/2 or usb input devices
(depending on what the machine happens to have).  And for keyboards
qemu is able to switch the keyboard between guest and host on hotkey.
The hotkey is hard-coded for now (both control keys), initialy the
guest owns the keyboard.

Probably most useful when assigning vga devices with vfio and using a
physical monitor instead of vnc/spice/gtk as guest display.

Usage:  Add '-input-linux /dev/input/event<nr>' to the qemu command
line.  Note that udev has rules which populate /dev/input/by-{id,path}
with static names, which might be more convinient to use.

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


  Commit: 46d921bebe4d0767a343ac81469ded6230e2defb
      
https://github.com/qemu/qemu/commit/46d921bebe4d0767a343ac81469ded6230e2defb
  Author: Gerd Hoffmann <address@hidden>
  Date:   2016-03-08 (Tue, 08 Mar 2016)

  Changed paths:
    M ui/input-linux.c

  Log Message:
  -----------
  input-linux: add option to toggle grab on all devices

Maintain a list of all input devices.  Add an option to make grab
work across all devices (so toggling grab on the keybard can switch
over the mouse too).

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


  Commit: a6ccabd6769b9d6e5bbc3f23bf8da58db032f3a1
      
https://github.com/qemu/qemu/commit/a6ccabd6769b9d6e5bbc3f23bf8da58db032f3a1
  Author: Gerd Hoffmann <address@hidden>
  Date:   2016-03-08 (Tue, 08 Mar 2016)

  Changed paths:
    M ui/input-linux.c

  Log Message:
  -----------
  input-linux: add switch to enable auto-repeat events

Enable with "-input-linux /dev/input/${device},repeat=on".

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


  Commit: 58aa7d8e443c7f79710a4f5757966f6c511f2242
      
https://github.com/qemu/qemu/commit/58aa7d8e443c7f79710a4f5757966f6c511f2242
  Author: Ren Kimura <address@hidden>
  Date:   2016-03-09 (Wed, 09 Mar 2016)

  Changed paths:
    M ui/console.c

  Log Message:
  -----------
  ui/console: add escape sequence \e[5, 6n

Add support of escape sequence "\e[5n" and "\e[6n" to console.
"\e[5n" reports status of console and it always succeed
in virtual console.
"\e[6n" reports now cursor position in console.

Signed-off-by: Ren Kimura <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>


  Commit: a648c137383d84bc4f95696e5293978d9541a26e
      
https://github.com/qemu/qemu/commit/a648c137383d84bc4f95696e5293978d9541a26e
  Author: Peter Maydell <address@hidden>
  Date:   2016-03-10 (Thu, 10 Mar 2016)

  Changed paths:
    M include/ui/input.h
    M qemu-options.hx
    M ui/Makefile.objs
    M ui/console.c
    A ui/input-linux.c
    M ui/vnc.c
    M vl.c

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

add linux evdev support, vnc and console fixes.

# gpg: Signature made Wed 09 Mar 2016 09:02:47 GMT 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-ui-20160309-1:
  ui/console: add escape sequence \e[5, 6n
  input-linux: add switch to enable auto-repeat events
  input-linux: add option to toggle grab on all devices
  input: linux evdev support
  vnc: send cursor when a new client is connecting

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


Compare: https://github.com/qemu/qemu/compare/4ba364b47275...a648c137383d

reply via email to

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