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>
This commit is contained in:
Markus Armbruster 2010-01-20 13:07:33 +01:00 committed by Anthony Liguori
parent c34ed28b6b
commit 95fada8c2c
1 changed files with 1 additions and 1 deletions

View File

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