1. 23 6月, 2015 1 次提交
    • G
      virtio-input: move properties, use virtio_instance_init_common · 6f2b9a5b
      Gerd Hoffmann 提交于
      Move properties from virtio-*-pci to virtio-*-device.
      Also make better use of QOM and attach common properties
      to the abstract parent classes (virtio-input-device and
      virtio-input-pci-device).
      
      Switch the hid device instance init functions over to use
      virtio_instance_init_common, so we get the properties of the
      virtio device aliased properly to the virtio pci proxy.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      6f2b9a5b
  2. 02 6月, 2015 2 次提交
  3. 29 5月, 2015 2 次提交
    • G
      virtio-input: emulated devices [device] · 55a1d80a
      Gerd Hoffmann 提交于
      This patch adds the virtio-input-hid base class and
      virtio-{keyboard,mouse,tablet} subclasses building on the base class.
      They are hooked up to the qemu input core and deliver input events
      to the guest like all other hid devices (ps/2 kbd, usb tablet, ...).
      
      Using them is as simple as adding "-device virtio-tablet-device" to
      your command line, for use all transports except pci.  virtio-pci
      support comes as separate patch, once virtio-pci got virtio 1.0
      support.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      55a1d80a
    • G
      virtio-input: core code & base class [device] · f73ddbad
      Gerd Hoffmann 提交于
      This patch adds virtio-input support to qemu.  It brings a abstract
      base class providing core support, other classes can build on it to
      actually implement input devices.
      
      virtio-input basically sends linux input layer events (evdev) over
      virtio.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      f73ddbad