diff options
author | Markus Armbruster <armbru@redhat.com> | 2010-02-17 16:24:10 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2010-03-16 16:55:05 +0100 |
commit | 03cd4655cbbc304f355deffd3413f7e3cbbcbe5e (patch) | |
tree | eaf8460c1e6c16ad44341768c392328ba7d9486b /sysemu.h | |
parent | 4491e0f3984c81ebe12027de2f3d185953f09bde (diff) | |
download | qemu-03cd4655cbbc304f355deffd3413f7e3cbbcbe5e.zip qemu-03cd4655cbbc304f355deffd3413f7e3cbbcbe5e.tar.gz qemu-03cd4655cbbc304f355deffd3413f7e3cbbcbe5e.tar.bz2 |
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.
Diffstat (limited to 'sysemu.h')
-rw-r--r-- | sysemu.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -54,7 +54,7 @@ extern qemu_irq qemu_system_powerdown; void qemu_system_reset(void); void do_savevm(Monitor *mon, const QDict *qdict); -int load_vmstate(Monitor *mon, const char *name); +int load_vmstate(const char *name); void do_delvm(Monitor *mon, const QDict *qdict); void do_info_snapshots(Monitor *mon); |