diff options
author | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-04-17 14:26:17 +0000 |
---|---|---|
committer | aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162> | 2009-04-17 14:26:17 +0000 |
commit | 29203dcf3172d66863b7c5618c5df72e153078a6 (patch) | |
tree | 45b2c78ff2108faa742b55acdc0093f50404f5a0 /vl.c | |
parent | 8690e42010a645dfede7779be2d3013bfc453966 (diff) |
kvm: Sync CPU state on reset (Jan Kiszka)
Make sure KVM gets informed about the reset CPU state.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7135 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.c')
-rw-r--r-- | vl.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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) |