aboutsummaryrefslogtreecommitdiff
path: root/qemu-monitor.hx
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2010-03-31 15:21:49 -0300
committerAurelien Jarno <aurelien@aurel32.net>2010-04-18 23:55:19 +0200
commitf1dc58e07decfa21f6141d6c441008d4b8b83331 (patch)
tree53782a3ca3a98020a620c9fe26ad25332b04ef64 /qemu-monitor.hx
parentdb11571f090c5e72b5da5772fe3ba6557aacd572 (diff)
downloadqemu-f1dc58e07decfa21f6141d6c441008d4b8b83331.zip
qemu-f1dc58e07decfa21f6141d6c441008d4b8b83331.tar.gz
qemu-f1dc58e07decfa21f6141d6c441008d4b8b83331.tar.bz2
Monitor: Convert do_screen_dump() to QObject
Trivial, as it never fails, doesn't have output nor return any data. Note that it's also available under QMP, as kvm-autotest needs this. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'qemu-monitor.hx')
-rw-r--r--qemu-monitor.hx3
1 files changed, 2 insertions, 1 deletions
diff --git a/qemu-monitor.hx b/qemu-monitor.hx
index 62fa346..5ea5748 100644
--- a/qemu-monitor.hx
+++ b/qemu-monitor.hx
@@ -199,7 +199,8 @@ ETEXI
.args_type = "filename:F",
.params = "filename",
.help = "save screen into PPM image 'filename'",
- .mhandler.cmd = do_screen_dump,
+ .user_print = monitor_user_noop,
+ .mhandler.cmd_new = do_screen_dump,
},
STEXI