diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2010-03-31 15:21:49 -0300 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-04-18 23:55:19 +0200 |
commit | f1dc58e07decfa21f6141d6c441008d4b8b83331 (patch) | |
tree | 53782a3ca3a98020a620c9fe26ad25332b04ef64 /monitor.c | |
parent | db11571f090c5e72b5da5772fe3ba6557aacd572 (diff) | |
download | hqemu-f1dc58e07decfa21f6141d6c441008d4b8b83331.zip hqemu-f1dc58e07decfa21f6141d6c441008d4b8b83331.tar.gz |
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 'monitor.c')
-rw-r--r-- | monitor.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1164,9 +1164,10 @@ static int do_change(Monitor *mon, const QDict *qdict, QObject **ret_data) return ret; } -static void do_screen_dump(Monitor *mon, const QDict *qdict) +static int do_screen_dump(Monitor *mon, const QDict *qdict, QObject **ret_data) { vga_hw_screen_dump(qdict_get_str(qdict, "filename")); + return 0; } static void do_logfile(Monitor *mon, const QDict *qdict) |