summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorVitaly Kuznetsov2022-08-18 17:01:13 +0200
committerPaolo Bonzini2022-09-01 07:42:37 +0200
commit45ed68a1a3a19754ade954d75a3c9d13ff560e5c (patch)
tree565488d15854197d23530171ee2e7623c3632f96 /configure
parenti386: reset KVM nested state upon CPU reset (diff)
downloadqemu-45ed68a1a3a19754ade954d75a3c9d13ff560e5c.tar.gz
qemu-45ed68a1a3a19754ade954d75a3c9d13ff560e5c.tar.xz
qemu-45ed68a1a3a19754ade954d75a3c9d13ff560e5c.zip
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 'configure')
0 files changed, 0 insertions, 0 deletions