qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/4] virtio: add input device
@ 2015-03-18 14:00 Gerd Hoffmann
  2015-03-18 14:00 ` [Qemu-devel] [PATCH 1/4] pci: add PCI_CLASS_INPUT_* Gerd Hoffmann
                   ` (3 more replies)
  0 siblings, 4 replies; 15+ messages in thread
From: Gerd Hoffmann @ 2015-03-18 14:00 UTC (permalink / raw)
  To: qemu-devel; +Cc: Gerd Hoffmann

  Hi,

This patch series adds virtio input devices.  It's basically sending
linux evdev events over virtio.  There is support for emulated hid
devices (i.e. send usual input to virtio device instead of usb or ps2
device) and for evdev device pass-through.

This depends on mst's virtio-1.0 patches.

Guest driver:
  https://www.kraxel.org/cgit/linux/log/?h=virtio-input

Specification:
  https://www.kraxel.org/cgit/virtio-spec/log/?h=virtio-input
  https://www.kraxel.org/virtio/virtio-v1.0-csprd03-virtio-input.html#x1-2640007

Gerd Hoffmann (4):
  pci: add  PCI_CLASS_INPUT_*
  virtio-input: core code & base class
  virtio-input: emulated devices
  virtio-input: evdev passthrough

 hw/input/Makefile.objs           |   6 +
 hw/input/virtio-input-hid.c      | 482 +++++++++++++++++++++++++++++++++++++++
 hw/input/virtio-input-host.c     | 172 ++++++++++++++
 hw/input/virtio-input.c          | 284 +++++++++++++++++++++++
 hw/virtio/virtio-pci.c           | 150 ++++++++++++
 hw/virtio/virtio-pci.h           |  37 +++
 include/hw/pci/pci_ids.h         |   7 +
 include/hw/virtio/virtio-input.h | 140 ++++++++++++
 include/hw/virtio/virtio.h       |   1 +
 9 files changed, 1279 insertions(+)
 create mode 100644 hw/input/virtio-input-hid.c
 create mode 100644 hw/input/virtio-input-host.c
 create mode 100644 hw/input/virtio-input.c
 create mode 100644 include/hw/virtio/virtio-input.h

-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 15+ messages in thread
* [Qemu-devel] [PATCH 0/4] input: add virtio input devices
@ 2014-06-03  8:42 Gerd Hoffmann
  2014-06-03  8:42 ` [Qemu-devel] [PATCH 2/4] virtio-input: core code & base class Gerd Hoffmann
  0 siblings, 1 reply; 15+ messages in thread
From: Gerd Hoffmann @ 2014-06-03  8:42 UTC (permalink / raw)
  To: qemu-devel; +Cc: Gerd Hoffmann

  Hi,

This series adds virtio input support to qemu.  virtio
input basically sends linux evdev events over virtio.

Patch #1 is just the pci id.  Patch #2 adds the core code
as abstract qom class.  Patch #3 adds emulated devices on
top of that, and patch #4 adds evdev passthrough.

The corresponding linux kernel driver is here:
https://www.kraxel.org/cgit/linux/log/?h=virtio-input

cheers,
  Gerd

Gerd Hoffmann (4):
  pci: add virtio input pci device id
  virtio-input: core code & base class
  virtio-input: emulated devices
  virtio-input: evdev passthrough

 docs/specs/pci-ids.txt           |   1 +
 hw/input/Makefile.objs           |   6 +
 hw/input/virtio-input-hid.c      | 484 +++++++++++++++++++++++++++++++++++++++
 hw/input/virtio-input-host.c     | 172 ++++++++++++++
 hw/input/virtio-input.c          | 284 +++++++++++++++++++++++
 hw/virtio/virtio-pci.c           | 135 +++++++++++
 hw/virtio/virtio-pci.h           |  37 +++
 include/hw/pci/pci.h             |   1 +
 include/hw/virtio/virtio-input.h | 140 +++++++++++
 include/hw/virtio/virtio.h       |   1 +
 10 files changed, 1261 insertions(+)
 create mode 100644 hw/input/virtio-input-hid.c
 create mode 100644 hw/input/virtio-input-host.c
 create mode 100644 hw/input/virtio-input.c
 create mode 100644 include/hw/virtio/virtio-input.h

-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2015-03-19 15:56 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-18 14:00 [Qemu-devel] [PATCH 0/4] virtio: add input device Gerd Hoffmann
2015-03-18 14:00 ` [Qemu-devel] [PATCH 1/4] pci: add PCI_CLASS_INPUT_* Gerd Hoffmann
2015-03-18 14:00 ` [Qemu-devel] [PATCH 2/4] virtio-input: core code & base class Gerd Hoffmann
2015-03-18 14:31   ` Michael S. Tsirkin
2015-03-18 15:31     ` Gerd Hoffmann
2015-03-18 16:58       ` Michael S. Tsirkin
2015-03-19  7:45         ` Gerd Hoffmann
2015-03-19  9:24           ` Michael S. Tsirkin
2015-03-19 11:33             ` Gerd Hoffmann
2015-03-19 11:37               ` Michael S. Tsirkin
2015-03-19 14:38                 ` Gerd Hoffmann
2015-03-19 15:56                   ` Michael S. Tsirkin
2015-03-18 14:00 ` [Qemu-devel] [PATCH 3/4] virtio-input: emulated devices Gerd Hoffmann
2015-03-18 14:00 ` [Qemu-devel] [PATCH 4/4] virtio-input: evdev passthrough Gerd Hoffmann
  -- strict thread matches above, loose matches on Subject: below --
2014-06-03  8:42 [Qemu-devel] [PATCH 0/4] input: add virtio input devices Gerd Hoffmann
2014-06-03  8:42 ` [Qemu-devel] [PATCH 2/4] virtio-input: core code & base class Gerd Hoffmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).