diff options
author | Sean Christopherson <sean.j.christopherson@intel.com> | 2019-05-07 09:06:29 -0700 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-06-18 11:46:53 +0200 |
commit | c538d57f6726022f9810bfbb52c4696cfdaf10a7 (patch) | |
tree | 796fb336fcab2726b3b87f7694db209450e6f733 /arch/x86/boot/main.c | |
parent | 3b013a2972d5bc344d6eaa8f24fdfe268211e45f (diff) |
KVM: nVMX: Write ENCLS-exiting bitmap once per vmcs02
KVM doesn't yet support SGX virtualization, i.e. writes a constant value
to ENCLS_EXITING_BITMAP so that it can intercept ENCLS and inject a #UD.
Fixes: 0b665d3040281 ("KVM: vmx: Inject #UD for SGX ENCLS instruction in guest")
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/boot/main.c')
0 files changed, 0 insertions, 0 deletions