From: Ján Tomko
Date: Mon, 16 Nov 2015 08:36:12 +0000 (+0100)
Subject: conf: add XML for input device passthrough
X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=1a538a07c71f6ef0ce57542301d78e55e5b0b581;p=people%2Fliuw%2Flibxenctrl-split%2Flibvirt.git
conf: add XML for input device passthrough
Add xml for the new virtio-input-host-pci device:
https://bugzilla.redhat.com/show_bug.cgi?id=1231114
---
diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
index df54ad3d0..a8bd48e97 100644
--- a/docs/formatdomain.html.in
+++ b/docs/formatdomain.html.in
@@ -4804,14 +4804,18 @@ qemu-kvm -net nic,model=? /dev/null
<input type='mouse' bus='virtio'/>
<input type='keyboard' bus='virtio'/>
<input type='tablet' bus='virtio'/>
+ <input type='passthrough' bus='virtio'>
+ <source evdev='/dev/input/event1/>
+ </input>
</devices>
...
input
The input element has one mandatory attribute,
- the type whose value can be 'mouse', 'tablet' or
- (since 1.2.2) 'keyboard'.
+ the type whose value can be 'mouse', 'tablet',
+ (since 1.2.2) 'keyboard' or
+ (since 1.3.0) 'passthrough'.
The tablet provides absolute cursor movement,
while the mouse uses relative movement. The optional
bus attribute can be used to refine the exact device type.
@@ -4824,6 +4828,10 @@ qemu-kvm -net nic,model=? /dev/null
sub-element <address> which can tie the
device to a particular PCI
slot, documented above.
+
+ For type passthrough, the mandatory sub-element source
+ must have an evdev attribute containing the absolute path to the
+ event device passed through to guests. (KVM only)