qemu_system_reset: we need to call it before loadvm/migration
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
2966b390d0
commit
504c2948d3
2
vl.c
2
vl.c
@ -4044,7 +4044,6 @@ static void main_loop(void)
|
|||||||
qemu_system_ready = 1;
|
qemu_system_ready = 1;
|
||||||
qemu_cond_broadcast(&qemu_system_cond);
|
qemu_cond_broadcast(&qemu_system_cond);
|
||||||
#endif
|
#endif
|
||||||
qemu_system_reset();
|
|
||||||
|
|
||||||
for (;;) {
|
for (;;) {
|
||||||
do {
|
do {
|
||||||
@ -5835,6 +5834,7 @@ int main(int argc, char **argv, char **envp)
|
|||||||
|
|
||||||
rom_load_all();
|
rom_load_all();
|
||||||
|
|
||||||
|
qemu_system_reset();
|
||||||
if (loadvm) {
|
if (loadvm) {
|
||||||
if (load_vmstate(cur_mon, loadvm) < 0) {
|
if (load_vmstate(cur_mon, loadvm) < 0) {
|
||||||
autostart = 0;
|
autostart = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user