]> Git Repo - qemu.git/commit
virtio-input: emulated devices [pci]
authorGerd Hoffmann <[email protected]>
Thu, 4 Jun 2015 10:34:42 +0000 (12:34 +0200)
committerMichael S. Tsirkin <[email protected]>
Wed, 10 Jun 2015 16:15:06 +0000 (18:15 +0200)
commit710e2d90da1a16807f7885d37b203ce739fdc53a
tree28650f197254ed8d8263ddf035c2a41905f5c5ae
parentf958c8aa138718b8126a300d6faece522f7674b8
virtio-input: emulated devices [pci]

This patch adds virtio-pci support for the emulated virtio-input
devices.  Using them is as simple as adding "-device virtio-tablet-pci"
to your command line.  If you want add multiple devices but don't want
waste a pci slot for each you can compose a multifunction device this way:

qemu -device virtio-keyboard-pci,addr=0d.0,multifunction=on \
     -device virtio-tablet-pci,addr=0d.1,multifunction=on

Signed-off-by: Gerd Hoffmann <[email protected]>
Reviewed-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
hw/virtio/virtio-pci.c
hw/virtio/virtio-pci.h
This page took 0.025903 seconds and 4 git commands to generate.