From 29203dcf3172d66863b7c5618c5df72e153078a6 Mon Sep 17 00:00:00 2001 From: aliguori Date: Fri, 17 Apr 2009 14:26:17 +0000 Subject: kvm: Sync CPU state on reset (Jan Kiszka) Make sure KVM gets informed about the reset CPU state. Signed-off-by: Jan Kiszka Signed-off-by: Anthony Liguori git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7135 c046a42c-6fe2-441c-8c8c-71466251a162 --- vl.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vl.c') diff --git a/vl.c b/vl.c index b698439..7e92d55 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) { re->func(re->opaque); } + if (kvm_enabled()) + kvm_sync_vcpus(); } void qemu_system_reset_request(void) -- cgit v1.1