Skip to contentSkip to conversation

[7135] kvm: Sync CPU state on reset (Jan Kiszka)

Qemu-devel Anthony Liguori 1 participant 1 message Apr 17, 2009

lore
Share & tools
lore
#0 lore raw

Revision: 7135

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=7135
Author:   aliguori
Date:     2009-04-17 14:26:17 +0000 (Fri, 17 Apr 2009)

Log Message:
-----------
kvm: Sync CPU state on reset (Jan Kiszka)

Make sure KVM gets informed about the reset CPU state.

Modified Paths:
--------------
trunk/vl.c

Modified: trunk/vl.c
===================================================================

vl.c +2 -0
@@ -3623,6 +3623,8 @@
     for(re = first_reset_entry; re != NULL; re = re->next) {
         re->func(re->opaque);
     }
+    if (kvm_enabled())
+        kvm_sync_vcpus();
 }
 
 void qemu_system_reset_request(void)