From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43380) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WrkQx-0008VW-Hh for qemu-devel@nongnu.org; Tue, 03 Jun 2014 04:51:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WrkQs-0003b4-OL for qemu-devel@nongnu.org; Tue, 03 Jun 2014 04:51:03 -0400 Received: from mx1.redhat.com ([209.132.183.28]:1615) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WrkQs-0003ax-FR for qemu-devel@nongnu.org; Tue, 03 Jun 2014 04:50:58 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s538oveQ027695 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 3 Jun 2014 04:50:57 -0400 From: Gerd Hoffmann Date: Tue, 3 Jun 2014 10:42:51 +0200 Message-Id: <1401784975-5104-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 0/4] input: add virtio input devices List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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