[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH V2] Guest stop notification
From: |
Eric B Munson |
Subject: |
[Qemu-devel] [PATCH V2] Guest stop notification |
Date: |
Thu, 1 Dec 2011 12:29:22 -0500 |
Often when a guest is stopped from the qemu console, it will report spurious
soft lockup warnings on resume. There are kernel patches being discussed that
will give the host the ability to tell the guest that it is being stopped and
should ignore the soft lockup warning that generates. This patch uses the qemu
Notifier system to tell the guest it is about to be stopped.
Signed-off-by: Eric B Munson <address@hidden>
Cc: Avi Kivity <address@hidden>
Cc: Marcelo Tosatti <address@hidden>
Cc: Jan Kiszka <address@hidden>
Cc: address@hidden
Cc: address@hidden
Cc: address@hidden
Cc: address@hidden
---
target-i386/kvm.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/target-i386/kvm.c b/target-i386/kvm.c
index 5bfc21f..12ac91a 100644
--- a/target-i386/kvm.c
+++ b/target-i386/kvm.c
@@ -342,6 +342,7 @@ static void cpu_update_state(void *opaque, int running,
RunState state)
if (running) {
env->tsc_valid = false;
+ kvm_vcpu_ioctl(env, KVM_GUEST_PAUSED, 0);
}
}
--
1.7.5.4
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [PATCH V2] Guest stop notification,
Eric B Munson <=