dcavalca / rpms / qemu

Forked from rpms/qemu a year ago
Clone

Blame 0110-fix-doc-of-using-raw-values-with-sendkey.patch

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