From: Gerd Hoffmann <kraxel@redhat.com>
To: qemu-devel@nongnu.org
Cc: Gerd Hoffmann <kraxel@redhat.com>
Subject: [Qemu-devel] [PATCH 0/4] virtio: add input device
Date: Wed, 18 Mar 2015 15:00:10 +0100 [thread overview]
Message-ID: <1426687214-31206-1-git-send-email-kraxel@redhat.com> (raw)
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
next reply other threads:[~2015-03-18 14:00 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-18 14:00 Gerd Hoffmann [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1426687214-31206-1-git-send-email-kraxel@redhat.com \
--to=kraxel@redhat.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).