diff options
author | Markus Armbruster <armbru@redhat.com> | 2010-01-20 13:07:33 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2010-01-26 14:55:11 -0600 |
commit | 95fada8c2cb2ef175b49a1db3e4e041d5a8ea46d (patch) | |
tree | 18e60fb91c747e7ce58d6ff91b94c1aee622249d | |
parent | c34ed28b6b9915650f5f8a6353e773a4b34afce7 (diff) |
monitor: convert do_physical_memory_save() to QError
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-rw-r--r-- | monitor.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1343,7 +1343,7 @@ static void do_physical_memory_save(Monitor *mon, const QDict *qdict, f = fopen(filename, "wb"); if (!f) { - monitor_printf(mon, "could not open '%s'\n", filename); + qemu_error_new(QERR_OPEN_FILE_FAILED, filename); return; } while (size != 0) { |