commit | 03cd4655cbbc304f355deffd3413f7e3cbbcbe5e | [log] [tgz] |
---|---|---|
author | Markus Armbruster <armbru@redhat.com> | Wed Feb 17 16:24:10 2010 +0100 |
committer | Markus Armbruster <armbru@redhat.com> | Tue Mar 16 16:55:05 2010 +0100 |
tree | eaf8460c1e6c16ad44341768c392328ba7d9486b | |
parent | 4491e0f3984c81ebe12027de2f3d185953f09bde [diff] [blame] |
savevm: Fix -loadvm to report errors to stderr, not the monitor A monitor may not even exist. Change load_vmstate() to use qemu_error() instead of monitor_printf(). Parameter mon is now unused, remove it.
diff --git a/vl.c b/vl.c index fd89e50..0030d54 100644 --- a/vl.c +++ b/vl.c
@@ -6072,7 +6072,7 @@ qemu_system_reset(); if (loadvm) { - if (load_vmstate(cur_mon, loadvm) < 0) { + if (load_vmstate(loadvm) < 0) { autostart = 0; } }