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>
This commit is contained in:
Luiz Capitulino 2010-03-31 15:21:49 -03:00 committed by Aurelien Jarno
parent db11571f09
commit f1dc58e07d
2 changed files with 4 additions and 2 deletions

View file

@ -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