[libvirt] [PATCH] Document the keyboard as a valid input type

Ján Tomko jtomko at redhat.com
Mon Feb 24 09:55:05 UTC 2014


Commit bc18373 added a new input type, but didn't change the
documentation.
---
 docs/formatdomain.html.in | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
index ea1a97b..400de07 100644
--- a/docs/formatdomain.html.in
+++ b/docs/formatdomain.html.in
@@ -3847,15 +3847,16 @@ qemu-kvm -net nic,model=? /dev/null
   ...
   <devices>
     <input type='mouse' bus='usb'/>
+    <input type='keyboard' bus='usb'/>
   </devices>
   ...</pre>
 
     <dl>
       <dt><code>input</code></dt>
       <dd>The <code>input</code> element has one mandatory attribute,
-        the <code>type</code> whose value can be either 'mouse' or
-        'tablet'. The latter provides absolute
-        cursor movement, while the former uses relative movement. The optional
+        the <code>type</code> whose value can be 'mouse', 'tablet' or
+        'keyboard'. The tablet provides absolute cursor movement,
+        while the mouse uses relative movement. The optional
         <code>bus</code> attribute can be used to refine the exact device type.
         It takes values "xen" (paravirtualized), "ps2" and "usb".</dd>
     </dl>
-- 
1.8.3.2




More information about the libvir-list mailing list