Skip to content
Snippets Groups Projects
Commit 5bea5123 authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

KVM: VMX: check nested state and CR4.VMXE against SMM


VMX cannot be enabled under SMM, check it when CR4 is set and when nested
virtualization state is restored.

This should fix some WARNs reported by syzkaller, mostly around
alloc_shadow_vmcs.

Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 822f312d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment