[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 1/7] kvm: Sync CPU state on reset

From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH 1/7] kvm: Sync CPU state on reset
Date: Fri, 17 Apr 2009 09:26:26 -0500
User-agent: Thunderbird (X11/20090320)

Jan Kiszka wrote:
Make sure KVM gets informed about the reset CPU state.

Signed-off-by: Jan Kiszka <address@hidden>

 vl.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/vl.c b/vl.c
index cd974be..7417644 100644
--- a/vl.c
+++ b/vl.c
@@ -3623,6 +3623,8 @@ void qemu_system_reset(void)
     for(re = first_reset_entry; re != NULL; re = re->next) {
+    if (kvm_enabled())
+        kvm_sync_vcpus();

Perhaps it would be better to register a reset handler in kvm_init?

If it has to run last, then we can add priority to the reset handlers.


Anthony Liguori

 void qemu_system_reset_request(void)


Anthony Liguori

reply via email to

[Prev in Thread] Current Thread [Next in Thread]