[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 6/6] Fix incoming migration with iothread
From: |
Marcelo Tosatti |
Subject: |
[Qemu-devel] [PATCH 6/6] Fix incoming migration with iothread |
Date: |
Wed, 3 Feb 2010 21:55:51 -0200 |
Do not allow the vcpus to execute if the vm is stopped.
Fixes -incoming with CONFIG_IOTHREAD enabled.
Signed-off-by: Marcelo Tosatti <address@hidden>
---
vl.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/vl.c b/vl.c
index 50f133d..57f0ba5 100644
--- 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;
}
--
1.6.6
- [Qemu-devel] [PATCH 0/6] [GIT PULL] qemu-kvm.git uq/master queue, Marcelo Tosatti, 2010/02/03
- [Qemu-devel] [PATCH 2/6] KVM: Request setting of nmi_pending and sipi_vector, Marcelo Tosatti, 2010/02/03
- [Qemu-devel] [PATCH 4/6] KVM: Make vmport KVM-compatible, Marcelo Tosatti, 2010/02/03
- [Qemu-devel] [PATCH 5/6] KVM: Move and rename regs_modified, Marcelo Tosatti, 2010/02/03
- [Qemu-devel] [PATCH 3/6] KVM: x86: Fix up misreported CPU features, Marcelo Tosatti, 2010/02/03
- [Qemu-devel] [PATCH 6/6] Fix incoming migration with iothread,
Marcelo Tosatti <=
- [Qemu-devel] [PATCH 1/6] kvm: Flush coalesced MMIO buffer periodly, Marcelo Tosatti, 2010/02/03
- [Qemu-devel] Re: [PATCH 0/6] [GIT PULL] qemu-kvm.git uq/master queue, Anthony Liguori, 2010/02/08