diff options
author | Juan Quintela <quintela@redhat.com> | 2017-04-18 18:12:35 +0200 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2017-05-17 12:04:59 +0200 |
commit | 927d66381948659b0acbb1b3f23de5a5008d48a4 (patch) | |
tree | cdbdbd70243fda8f7cce17a39a4eb591cb0b2246 /include/sysemu | |
parent | 2bf3aa85f08186b8162b76e7e8efe5b5a44306a6 (diff) | |
download | qemu-927d66381948659b0acbb1b3f23de5a5008d48a4.zip qemu-927d66381948659b0acbb1b3f23de5a5008d48a4.tar.gz qemu-927d66381948659b0acbb1b3f23de5a5008d48a4.tar.bz2 |
migration: Pass Error ** argument to {save,load}_vmstate
This way we use the "normal" way of printing errors for hmp commands.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Reviewed-by: Laurent Vivier <lvivier@redhat.com>
Diffstat (limited to 'include/sysemu')
-rw-r--r-- | include/sysemu/sysemu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sysemu/sysemu.h b/include/sysemu/sysemu.h index be9e22c..282f6bc 100644 --- a/include/sysemu/sysemu.h +++ b/include/sysemu/sysemu.h @@ -75,8 +75,8 @@ void qemu_remove_exit_notifier(Notifier *notify); void qemu_add_machine_init_done_notifier(Notifier *notify); void qemu_remove_machine_init_done_notifier(Notifier *notify); -int save_vmstate(const char *name); -int load_vmstate(const char *name); +int save_vmstate(const char *name, Error **errp); +int load_vmstate(const char *name, Error **errp); void qemu_announce_self(void); |