aboutsummaryrefslogtreecommitdiff
path: root/hmp-commands.hx
diff options
context:
space:
mode:
authorHani Benhabiles <kroosec@gmail.com>2014-05-07 23:41:27 +0100
committerLuiz Capitulino <lcapitulino@redhat.com>2014-05-15 15:16:01 -0400
commit29136cd8a4883f2ce97387f3a01c156ac1c43869 (patch)
treee607863f84c29b48f1f7cc31715e04a1bcdfec3a /hmp-commands.hx
parent87a560c455dfc53c151f7f5dd4a305f6d44e00dd (diff)
monitor: Convert sendkey to use command_completion.
Signed-off-by: Hani Benhabiles <hani@linux.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'hmp-commands.hx')
-rw-r--r--hmp-commands.hx1
1 files changed, 1 insertions, 0 deletions
diff --git a/hmp-commands.hx b/hmp-commands.hx
index 8971f1b153..b4b23c8b04 100644
--- a/hmp-commands.hx
+++ b/hmp-commands.hx
@@ -556,6 +556,7 @@ ETEXI
.params = "keys [hold_ms]",
.help = "send keys to the VM (e.g. 'sendkey ctrl-alt-f1', default hold time=100 ms)",
.mhandler.cmd = hmp_send_key,
+ .command_completion = sendkey_completion,
},
STEXI