summaryrefslogtreecommitdiff
path: root/qemu-monitor.hx
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2009-10-16 12:23:43 -0300
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-27 12:28:57 -0500
commit8f2110e72377f65bafabbd0aa19add12a2a204a6 (patch)
tree56141ce8663f78dd815531fb44350015c8ca76f8 /qemu-monitor.hx
parentd7d442dd31cdd9d531c0d704c7bee43c143a5db7 (diff)
downloadqemu-8f2110e72377f65bafabbd0aa19add12a2a204a6.tar.gz
qemu-8f2110e72377f65bafabbd0aa19add12a2a204a6.tar.bz2
qemu-8f2110e72377f65bafabbd0aa19add12a2a204a6.zip
monitor: Convert do_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 '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 29999c6e38..70b9125cfe 100644
--- a/qemu-monitor.hx
+++ b/qemu-monitor.hx
@@ -666,7 +666,8 @@ ETEXI
.args_type = "val:l,size:i,filename:s",
.params = "addr size file",
.help = "save to disk virtual memory dump starting at 'addr' of size 'size'",
- .mhandler.cmd = do_memory_save,
+ .user_print = monitor_user_noop,
+ .mhandler.cmd_new = do_memory_save,
},
STEXI