Lines Matching refs:nested

176 static int nested = true;  variable
177 module_param(nested, int, S_IRUGO);
654 msrpm = is_guest_mode(vcpu) ? to_svm(vcpu)->nested.msrpm: in msr_write_intercepted()
936 if (nested) { in svm_set_cpu_caps()
1016 if (nested) { in svm_hardware_setup()
1135 return svm->nested.ctl.tsc_offset; in svm_get_l2_tsc_offset()
1320 svm->nested.vmcb12_gpa = INVALID_GPA; in init_vmcb()
1321 svm->nested.last_vmcb12_gpa = INVALID_GPA; in init_vmcb()
1642 (svm->nested.ctl.int_ctl & V_TPR_MASK)); in svm_clear_vintr()
1644 svm->vmcb->control.int_ctl |= svm->nested.ctl.int_ctl & in svm_clear_vintr()
1647 svm->vmcb->control.int_vector = svm->nested.ctl.int_vector; in svm_clear_vintr()
2520 (!(vmcb_is_intercept(&svm->nested.ctl, INTERCEPT_SELECTIVE_CR0)))) in check_selective_cr0_intercepted()
2796 msr_info->data = svm->nested.hsave_msr; in svm_get_msr()
2799 msr_info->data = svm->nested.vm_cr_msr; in svm_get_msr()
2868 if (svm->nested.vm_cr_msr & SVM_VM_CR_SVM_DIS_MASK) in svm_set_vm_cr()
2871 svm->nested.vm_cr_msr &= ~chg_mask; in svm_set_vm_cr()
2872 svm->nested.vm_cr_msr |= (data & chg_mask); in svm_set_vm_cr()
2874 svm_dis = svm->nested.vm_cr_msr & SVM_VM_CR_SVM_DIS_MASK; in svm_set_vm_cr()
3041 svm->nested.hsave_msr = data & PAGE_MASK; in svm_set_msr()
3542 if (svm->nested.nested_run_pending) in svm_nmi_allowed()
3582 if ((svm->nested.ctl.int_ctl & V_INTR_MASKING_MASK) in svm_interrupt_blocked()
3601 if (svm->nested.nested_run_pending) in svm_interrupt_allowed()
3953 if (svm->nested.nested_run_pending && in svm_vcpu_run()
3957 svm->nested.nested_run_pending = 0; in svm_vcpu_run()
4111 if (nested && guest_cpuid_has(vcpu, X86_FEATURE_SVM)) in svm_vcpu_after_set_cpuid()
4220 if (!(vmcb_is_intercept(&svm->nested.ctl, in svm_check_intercept()
4337 if (svm->nested.nested_run_pending) in svm_smi_allowed()
4359 put_smstate(u64, smstate, 0x7ee0, svm->nested.vmcb12_gpa); in svm_enter_smm()
4381 if (kvm_vcpu_map(vcpu, gpa_to_gfn(svm->nested.hsave_msr), in svm_enter_smm()
4421 if (kvm_vcpu_map(vcpu, gpa_to_gfn(svm->nested.hsave_msr), &map_save) == -EINVAL) in svm_leave_smm()