mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
monitor: convert do_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:
parent
3da2c80814
commit
c34ed28b6b
1 changed files with 1 additions and 1 deletions
|
@ -1316,7 +1316,7 @@ static void do_memory_save(Monitor *mon, const QDict *qdict, QObject **ret_data)
|
|||
|
||||
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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue