2 #ifndef __KVM_X86_SGX_H
3 #define __KVM_X86_SGX_H
5 #include <linux/kvm_host.h>
10 #ifdef CONFIG_X86_SGX_KVM
static bool cpu_has_vmx_encls_vmexit(void)
u32 kvm_cpu_caps[NR_KVM_CPU_CAPS] __read_mostly
int handle_encls(struct kvm_vcpu *vcpu)
static void setup_default_sgx_lepubkeyhash(void)
static void vcpu_setup_sgx_lepubkeyhash(struct kvm_vcpu *vcpu)
static void vmx_write_encls_bitmap(struct kvm_vcpu *vcpu, struct vmcs12 *vmcs12)
static __always_inline void vmcs_write64(unsigned long field, u64 value)