From d32da43fc02ad3338b519652f223b7919d5592c8 Mon Sep 17 00:00:00 2001 From: Luiz Capitulino Date: Fri, 4 Sep 2009 16:23:06 -0300 Subject: [PATCH] monitor: Fix do_commit() argument type Currently do_commit() argument type is 's' (string), but it should be 'B' (block), this way 'commit' gets command completion. Signed-off-by: Luiz Capitulino Signed-off-by: Aurelien Jarno --- qemu-monitor.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qemu-monitor.hx b/qemu-monitor.hx index 9f91873..c176f2c 100644 --- a/qemu-monitor.hx +++ b/qemu-monitor.hx @@ -15,7 +15,7 @@ STEXI Show the help for all commands or just for command @var{cmd}. ETEXI - { "commit", "device:s", do_commit, + { "commit", "device:B", do_commit, "device|all", "commit changes to the disk images (if -snapshot is used) or backing files" }, STEXI @item commit -- 2.7.4