diff options
author | Anthony PERARD <anthony.perard@citrix.com> | 2015-08-03 15:29:19 +0100 |
---|---|---|
committer | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2015-08-03 16:13:23 +0000 |
commit | c69adea462a97c02001b2dd1edd2a0692d27f5a2 (patch) | |
tree | f4c4f237972bb0425b4abce18f60a0935355327d /include/migration/migration.h | |
parent | f60c87154ac722c528fd5582f7137914a93c5eec (diff) | |
download | qemu-c69adea462a97c02001b2dd1edd2a0692d27f5a2.zip |
migration: Fix global state with Xen.
When doing migration via the QMP command xen_save_devices_state, the
current runstate is not store into the global state section. Also the
current runstate is not the one we want on the receiver side.
During migration, the Xen toolstack paused QEMU before save the devices
state. Also, the toolstack expect QEMU to autostart when the migration is
finished.
So this patch store "running" as it's current runstate.
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'include/migration/migration.h')
-rw-r--r-- | include/migration/migration.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/migration/migration.h b/include/migration/migration.h index a2f8ed093c..83346210b1 100644 --- a/include/migration/migration.h +++ b/include/migration/migration.h @@ -203,4 +203,5 @@ void register_global_state(void); void global_state_set_optional(void); void savevm_skip_configuration(void); int global_state_store(void); +void global_state_store_running(void); #endif |