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

Skip to content
Commit cafd6659 authored by Shane Wang's avatar Shane Wang Committed by Avi Kivity
Browse files

KVM: VMX: enable VMXON check with SMX enabled (Intel TXT)



Per document, for feature control MSR:

  Bit 1 enables VMXON in SMX operation. If the bit is clear, execution
        of VMXON in SMX operation causes a general-protection exception.
  Bit 2 enables VMXON outside SMX operation. If the bit is clear, execution
        of VMXON outside SMX operation causes a general-protection exception.

This patch is to enable this kind of check with SMX for VMXON in KVM.

Signed-off-by: default avatarShane Wang <shane.wang@intel.com>
Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent f1d86e46
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