projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fae11c6
)
monitor: convert do_physical_memory_save() to QError
author
Markus Armbruster
<armbru@redhat.com>
Wed, 20 Jan 2010 12:07:33 +0000
(13:07 +0100)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Tue, 26 Jan 2010 20:55:11 +0000
(14:55 -0600)
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
monitor.c
patch
|
blob
|
history
diff --git
a/monitor.c
b/monitor.c
index 7b7a46585abbaf7affb9d503ab3f67ccf3ed54d3..614d2d691b2267c62d5bdfc5dfde3f2cc5781d60 100644
(file)
--- a/
monitor.c
+++ b/
monitor.c
@@
-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) {