projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ded274
)
Fix incoming migration with iothread
author
Marcelo Tosatti
<mtosatti@redhat.com>
Wed, 3 Feb 2010 23:44:17 +0000
(21:44 -0200)
committer
Marcelo Tosatti
<mtosatti@redhat.com>
Wed, 3 Feb 2010 23:44:17 +0000
(21:44 -0200)
Do not allow the vcpus to execute if the vm is stopped.
Fixes -incoming with CONFIG_IOTHREAD enabled.
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
vl.c
patch
|
blob
|
history
diff --git
a/vl.c
b/vl.c
index 50f133d4964f27b7104c0147b427e4d691ac352e..57f0ba53df0fa014616fb56ec008667d72371e14 100644
(file)
--- a/
vl.c
+++ b/
vl.c
@@
-3282,6
+3282,8
@@
static int cpu_can_run(CPUState *env)
return 0;
if (env->stopped)
return 0;
+ if (!vm_running)
+ return 0;
return 1;
}