aboutsummaryrefslogtreecommitdiff
path: root/hw/timer/omap_gptimer.c
diff options
context:
space:
mode:
authorVitaly Kuznetsov <vkuznets@redhat.com>2022-08-18 17:01:13 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2022-09-01 07:42:37 +0200
commit45ed68a1a3a19754ade954d75a3c9d13ff560e5c (patch)
tree565488d15854197d23530171ee2e7623c3632f96 /hw/timer/omap_gptimer.c
parent3cafdb67504a34a0305260f0c86a73d5a3fb000b (diff)
downloadqemu-45ed68a1a3a19754ade954d75a3c9d13ff560e5c.zip
qemu-45ed68a1a3a19754ade954d75a3c9d13ff560e5c.tar.gz
qemu-45ed68a1a3a19754ade954d75a3c9d13ff560e5c.tar.bz2
i386: do kvm_put_msr_feature_control() first thing when vCPU is reset
kvm_put_sregs2() fails to reset 'locked' CR4/CR0 bits upon vCPU reset when it is in VMX root operation. Do kvm_put_msr_feature_control() before kvm_put_sregs2() to (possibly) kick vCPU out of VMX root operation. It also seems logical to do kvm_put_msr_feature_control() before kvm_put_nested_state() and not after it, especially when 'real' nested state is set. Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com> Message-Id: <20220818150113.479917-3-vkuznets@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/timer/omap_gptimer.c')
0 files changed, 0 insertions, 0 deletions