Patchwork [06/60] fix doc of using raw values with sendkey

mail settings
Submitter Michael Tokarev
Date Feb. 4, 2013, 10:40 a.m.
Message ID <>
Download mbox | patch
Permalink /patch/217868/
State New
Headers show


Michael Tokarev - Feb. 4, 2013, 10:40 a.m.
From: Amos Kong <>

(qemu) sendkey a
(qemu) sendkey 0x1e
(qemu) sendkey #0x1e
 unknown key: '#0x1e'

The last command doesn't work, '#' is not requested before
raw values, and the raw value in decimal format is not supported.

Signed-off-by: Amos Kong <>
Signed-off-by: Luiz Capitulino <>
(cherry picked from commit 886cc706ce5d4d3d1c296f028ddc2991cfbe3bbe)

Signed-off-by: Michael Tokarev <>
 hmp-commands.hx |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)


diff --git a/hmp-commands.hx b/hmp-commands.hx
index 18cb415..f4dc4a0 100644
--- a/hmp-commands.hx
+++ b/hmp-commands.hx
@@ -512,9 +512,9 @@  STEXI
 @item sendkey @var{keys}
 @findex sendkey
-Send @var{keys} to the emulator. @var{keys} could be the name of the
-key or @code{#} followed by the raw value in either decimal or hexadecimal
-format. Use @code{-} to press several keys simultaneously. Example:
+Send @var{keys} to the guest. @var{keys} could be the name of the
+key or the raw value in hexadecimal format. Use @code{-} to press
+several keys simultaneously. Example:
 sendkey ctrl-alt-f1
 @end example