qemu-commits
[Top][All Lists]
Advanced

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

[Qemu-commits] [qemu/qemu] a263ba: virtio-input: add parenthesis to cons


From: GitHub
Subject: [Qemu-commits] [qemu/qemu] a263ba: virtio-input: add parenthesis to const_le{16, 32}
Date: Thu, 14 Apr 2016 02:30:05 -0700

  Branch: refs/heads/master
  Home:   https://github.com/qemu/qemu
  Commit: a263bac1928cbb34d6fceb4f7569ad76ced37cc1
      
https://github.com/qemu/qemu/commit/a263bac1928cbb34d6fceb4f7569ad76ced37cc1
  Author: Gerd Hoffmann <address@hidden>
  Date:   2016-04-13 (Wed, 13 Apr 2016)

  Changed paths:
    M include/hw/virtio/virtio-input.h

  Log Message:
  -----------
  virtio-input: add parenthesis to const_le{16, 32}

"_x" must be "(_x)" otherwise things fail if you pass in expressions.

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


  Commit: 441330f7146c5b5422e52729188d1d62e2f47862
      
https://github.com/qemu/qemu/commit/441330f7146c5b5422e52729188d1d62e2f47862
  Author: Gerd Hoffmann <address@hidden>
  Date:   2016-04-13 (Wed, 13 Apr 2016)

  Changed paths:
    M include/hw/virtio/virtio-input.h
    M include/qemu/bswap.h

  Log Message:
  -----------
  move const_le{16, 23} to qemu/bswap.h, add comment

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


  Commit: 27a7bbcdf9483be3b4c0b816d59676c8715c2af3
      
https://github.com/qemu/qemu/commit/27a7bbcdf9483be3b4c0b816d59676c8715c2af3
  Author: Ladi Prosek <address@hidden>
  Date:   2016-04-13 (Wed, 13 Apr 2016)

  Changed paths:
    M hw/input/virtio-input-hid.c

  Log Message:
  -----------
  virtio-input: add missing key mappings

KEY_PAUSE is flat out missing. KEY_SYSRQ already has a keycode
assigned but it's not what I'm seeing on my system. The mapping
doesn't appear to have to be unique so both keycodes now map to
KEY_SYSRQ which is what the "Keyboard PrintScreen", HID usage ID
0x46, translates to.

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


  Commit: 848c4d4480561154ada54851ba411aea3977c771
      
https://github.com/qemu/qemu/commit/848c4d4480561154ada54851ba411aea3977c771
  Author: Ladi Prosek <address@hidden>
  Date:   2016-04-13 (Wed, 13 Apr 2016)

  Changed paths:
    M hw/input/virtio-input-host.c

  Log Message:
  -----------
  virtio-input: retrieve EV_LED host config bits

VIRTIO_INPUT_CFG_EV_BITS with subsel of EV_LED was always
returning an empty bitmap for pass-through input devices.

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


  Commit: 1a782629f668875955f4f08ac8f11de752d71298
      
https://github.com/qemu/qemu/commit/1a782629f668875955f4f08ac8f11de752d71298
  Author: Ladi Prosek <address@hidden>
  Date:   2016-04-13 (Wed, 13 Apr 2016)

  Changed paths:
    M hw/input/virtio-input-host.c

  Log Message:
  -----------
  virtio-input: implement pass-through evdev writes

The write path for pass-through devices, commonly used for controlling
keyboard LEDs via EV_LED, was not implemented. This commit adds the
necessary plumbing to connect the status virtio queue to the host evdev
file descriptor.

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


  Commit: 2d738374665ede5b7c08545e5b44a411e7c3e943
      
https://github.com/qemu/qemu/commit/2d738374665ede5b7c08545e5b44a411e7c3e943
  Author: Gerd Hoffmann <address@hidden>
  Date:   2016-04-13 (Wed, 13 Apr 2016)

  Changed paths:
    M hw/input/virtio-input.c

  Log Message:
  -----------
  virtio-input: add live migration support

virtio-input is simple enough that it doesn't need to xfer any state.
Still we have to wire up savevm manually, so the generic pci and virtio
are saved correctly.

Additionally we need to do some post-load processing to figure whenever
the guest uses the device or not, so we can give input routing hints to
the qemu input layer using qemu_input_handler_{activate,deactivate}.

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


  Commit: 0263b3a72fbd2ac9ba59ecc2449a9bc53ccf6fb3
      
https://github.com/qemu/qemu/commit/0263b3a72fbd2ac9ba59ecc2449a9bc53ccf6fb3
  Author: Ladi Prosek <address@hidden>
  Date:   2016-04-13 (Wed, 13 Apr 2016)

  Changed paths:
    M hw/input/virtio-input-hid.c

  Log Message:
  -----------
  virtio-input: fix emulated tablet axis ranges

The reported maximum was wrong. The X and Y coordinates are 0-based
so if size is 8000 maximum must be 7FFF.

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


  Commit: ce47d3d4270e9c0f87cd9a3982f1a40a4514c6e3
      
https://github.com/qemu/qemu/commit/ce47d3d4270e9c0f87cd9a3982f1a40a4514c6e3
  Author: Gerd Hoffmann <address@hidden>
  Date:   2016-04-13 (Wed, 13 Apr 2016)

  Changed paths:
    M ui/input-linux.c

  Log Message:
  -----------
  input-linux: refine mouse detection

Read absolute and relative axis information, only classify
devices as mouse/tablet in case the x axis is present.

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


  Commit: b065e275a8066c3ec478f326f39c5fc3c9db103c
      
https://github.com/qemu/qemu/commit/b065e275a8066c3ec478f326f39c5fc3c9db103c
  Author: Ladi Prosek <address@hidden>
  Date:   2016-04-13 (Wed, 13 Apr 2016)

  Changed paths:
    M hw/input/virtio-input-host.c
    M hw/input/virtio-input.c
    M include/hw/virtio/virtio-input.h

  Log Message:
  -----------
  virtio-input: support absolute axis config in pass-through

VIRTIO_INPUT_CFG_ABS_INFO was not implemented for pass-through input
devices. This patch follows the existing design and pre-fetches the
config for all absolute axes using EVIOCGABS at realize time.

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


  Commit: 33e570288985611345c7d6e073a4b258c97573a8
      
https://github.com/qemu/qemu/commit/33e570288985611345c7d6e073a4b258c97573a8
  Author: Peter Maydell <address@hidden>
  Date:   2016-04-13 (Wed, 13 Apr 2016)

  Changed paths:
    M hw/input/virtio-input-hid.c
    M hw/input/virtio-input-host.c
    M hw/input/virtio-input.c
    M include/hw/virtio/virtio-input.h
    M include/qemu/bswap.h
    M ui/input-linux.c

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

virtio-input; live migration support, various bugfixes.

# gpg: Signature made Wed 13 Apr 2016 16:41:27 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-20160413-1:
  virtio-input: support absolute axis config in pass-through
  input-linux: refine mouse detection
  virtio-input: fix emulated tablet axis ranges
  virtio-input: add live migration support
  virtio-input: implement pass-through evdev writes
  virtio-input: retrieve EV_LED host config bits
  virtio-input: add missing key mappings
  move const_le{16, 23} to qemu/bswap.h, add comment
  virtio-input: add parenthesis to const_le{16, 32}

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


Compare: https://github.com/qemu/qemu/compare/8b4aaba736e5...33e570288985

reply via email to

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