5544c1b
From 211b2548bfbdab72051a7ef1e9982ff4ec0fd98f Mon Sep 17 00:00:00 2001
5544c1b
From: Amos Kong <akong@redhat.com>
5544c1b
Date: Fri, 31 Aug 2012 10:56:20 +0800
5544c1b
Subject: [PATCH] fix doc of using raw values with sendkey
5544c1b
5544c1b
(qemu) sendkey a
5544c1b
(qemu) sendkey 0x1e
5544c1b
(qemu) sendkey #0x1e
5544c1b
 unknown key: '#0x1e'
5544c1b
5544c1b
The last command doesn't work, '#' is not requested before
5544c1b
raw values, and the raw value in decimal format is not supported.
5544c1b
5544c1b
Signed-off-by: Amos Kong <akong@redhat.com>
5544c1b
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
5544c1b
(cherry picked from commit 886cc706ce5d4d3d1c296f028ddc2991cfbe3bbe)
5544c1b
5544c1b
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
5544c1b
---
5544c1b
 hmp-commands.hx | 6 +++---
5544c1b
 1 file changed, 3 insertions(+), 3 deletions(-)
5544c1b
5544c1b
diff --git a/hmp-commands.hx b/hmp-commands.hx
5544c1b
index 13f28cf..a72614d 100644
5544c1b
--- a/hmp-commands.hx
5544c1b
+++ b/hmp-commands.hx
5544c1b
@@ -512,9 +512,9 @@ STEXI
5544c1b
 @item sendkey @var{keys}
5544c1b
 @findex sendkey
5544c1b
 
5544c1b
-Send @var{keys} to the emulator. @var{keys} could be the name of the
5544c1b
-key or @code{#} followed by the raw value in either decimal or hexadecimal
5544c1b
-format. Use @code{-} to press several keys simultaneously. Example:
5544c1b
+Send @var{keys} to the guest. @var{keys} could be the name of the
5544c1b
+key or the raw value in hexadecimal format. Use @code{-} to press
5544c1b
+several keys simultaneously. Example:
5544c1b
 @example
5544c1b
 sendkey ctrl-alt-f1
5544c1b
 @end example