summaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2009-10-16 12:23:44 -0300
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-27 12:28:57 -0500
commit18f5a8bfc7919a382baa37252001ef82833e61d3 (patch)
tree8b75f7a409923dc6d4d0bdd157d08473e775edf9 /monitor.c
parent57e09454a4b1ede7040600346f5c6d9c8ddcd9c1 (diff)
monitor: Convert do_physical_memory_save() to QObject
Note that errors are not being converted yet. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/monitor.c b/monitor.c
index c852ffafd..8b317301c 100644
--- a/monitor.c
+++ b/monitor.c
@@ -1008,7 +1008,8 @@ static void do_memory_save(Monitor *mon, const QDict *qdict, QObject **ret_data)
fclose(f);
}
-static void do_physical_memory_save(Monitor *mon, const QDict *qdict)
+static void do_physical_memory_save(Monitor *mon, const QDict *qdict,
+ QObject **ret_data)
{
FILE *f;
uint32_t l;