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

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

On 02/24/2014 02:55 AM, Ján Tomko wrote:
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,
ACK if you also add a <span> for a 'since 1.2.2' designation on keyboard. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org

On 02/24/2014 05:39 PM, Eric Blake wrote:
On 02/24/2014 02:55 AM, Ján Tomko wrote:
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,
ACK if you also add a <span> for a 'since 1.2.2' designation on keyboard.
Thanks, pushed now. Jan
participants (2)
-
Eric Blake
-
Ján Tomko