OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72e72e1
)
migration: Register global state section before loadvm
author
Juan Quintela
<quintela@redhat.com>
Fri, 10 Jul 2015 12:51:58 +0000
(14:51 +0200)
committer
Juan Quintela
<quintela@redhat.com>
Wed, 15 Jul 2015 07:07:54 +0000
(09:07 +0200)
Otherwise, it is not found
Signed-off-by: Juan Quintela <quintela@redhat.com>
vl.c
patch
|
blob
|
history
diff --git
a/vl.c
b/vl.c
index
3f269dc
..
5856396
100644
(file)
--- a/
vl.c
+++ b/
vl.c
@@
-4615,6
+4615,7
@@
int main(int argc, char **argv, char **envp)
}
qemu_system_reset(VMRESET_SILENT);
+ register_global_state();
if (loadvm) {
if (load_vmstate(loadvm) < 0) {
autostart = 0;
@@
-4628,7
+4629,6
@@
int main(int argc, char **argv, char **envp)
return 0;
}
- register_global_state();
if (incoming) {
Error *local_err = NULL;
qemu_start_incoming_migration(incoming, &local_err);