summary refs log tree commit diff stats
path: root/hmp-commands.hx
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2011-11-23 13:28:21 -0200
committerLuiz Capitulino <lcapitulino@redhat.com>2011-12-06 11:40:01 -0200
commita4dea8a9f4e0a4a863e5f3b366350fd697552d8a (patch)
tree6721237466ed612c826d6f2d0e3eeb6800fc5282 /hmp-commands.hx
parent4b37156c40c3d7d63ac332e3bb9f85a66c3f5e5e (diff)
downloadfocaccia-qemu-a4dea8a9f4e0a4a863e5f3b366350fd697552d8a.tar.gz
focaccia-qemu-a4dea8a9f4e0a4a863e5f3b366350fd697552d8a.zip
qapi: Convert block_passwd
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'hmp-commands.hx')
-rw-r--r--hmp-commands.hx3
1 files changed, 1 insertions, 2 deletions
diff --git a/hmp-commands.hx b/hmp-commands.hx
index 93d4a7e5b2..0bf88961b7 100644
--- a/hmp-commands.hx
+++ b/hmp-commands.hx
@@ -1198,8 +1198,7 @@ ETEXI
         .args_type  = "device:B,password:s",
         .params     = "block_passwd device password",
         .help       = "set the password of encrypted block devices",
-        .user_print = monitor_user_noop,
-        .mhandler.cmd_new = do_block_set_passwd,
+        .mhandler.cmd = hmp_block_passwd,
     },
 
 STEXI