mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-31 11:40:32 -07:00
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> |
||
|---|---|---|
| .. | ||
| hyperv-proto.h | ||
| hyperv-stub.c | ||
| hyperv.c | ||
| hyperv.h | ||
| kvm-cpu.c | ||
| kvm-cpu.h | ||
| kvm-stub.c | ||
| kvm.c | ||
| kvm_i386.h | ||
| meson.build | ||
| sev-stub.c | ||
| trace-events | ||
| trace.h | ||