Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
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
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment