mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-24 00:18:36 -07:00
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:
parent
c34ed28b6b
commit
95fada8c2c
1 changed files with 1 additions and 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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue