Searched refs:kvm_vmx (Results 1 – 2 of 2) sorted by relevance
340 struct kvm_vmx { struct452 static inline struct kvm_vmx *to_kvm_vmx(struct kvm *kvm) in to_kvm_vmx()454 return container_of(kvm, struct kvm_vmx, kvm); in to_kvm_vmx()
2815 struct kvm_vmx *kvm_vmx = to_kvm_vmx(vcpu->kvm); in enter_rmode() local2831 if (!kvm_vmx->tss_addr) in enter_rmode()2837 vmcs_writel(GUEST_TR_BASE, kvm_vmx->tss_addr); in enter_rmode()3586 struct kvm_vmx *kvm_vmx = to_kvm_vmx(kvm); in init_rmode_identity_map() local3594 if (likely(kvm_vmx->ept_identity_pagetable_done)) in init_rmode_identity_map()3597 if (!kvm_vmx->ept_identity_map_addr) in init_rmode_identity_map()3598 kvm_vmx->ept_identity_map_addr = VMX_EPT_IDENTITY_PAGETABLE_ADDR; in init_rmode_identity_map()3602 kvm_vmx->ept_identity_map_addr, in init_rmode_identity_map()3618 kvm_vmx->ept_identity_pagetable_done = true; in init_rmode_identity_map()7576 .vm_size = sizeof(struct kvm_vmx),