Lines Matching refs:sev_es_guest
381 if (sev_es_guest(vcpu->kvm)) in __svm_skip_emulated_instruction()
1008 if (sev_es_guest(vcpu->kvm)) in svm_enable_lbrv()
1020 KVM_BUG_ON(sev_es_guest(vcpu->kvm), vcpu->kvm); in svm_disable_lbrv()
1399 if (sev_es_guest(vcpu->kvm)) in __svm_vcpu_reset()
1440 if (sev_es_guest(vcpu->kvm)) { in svm_vcpu_create()
1515 if (sev_es_guest(vcpu->kvm)) in svm_prepare_switch_to_guest()
1526 if (sev_es_guest(vcpu->kvm)) in svm_prepare_switch_to_guest()
1539 (!boot_cpu_has(X86_FEATURE_V_TSC_AUX) || !sev_es_guest(vcpu->kvm))) in svm_prepare_switch_to_guest()
1610 return sev_es_guest(vcpu->kvm) in svm_get_if_flag()
1844 if (sev_es_guest(vcpu->kvm)) { in sev_post_set_cr3()
1899 if (sev_es_guest(vcpu->kvm)) in svm_set_cr0()
2013 if (WARN_ON_ONCE(sev_es_guest(vcpu->kvm))) in svm_sync_dirty_debug_regs()
2223 if (!sev_es_guest(vcpu->kvm)) { in shutdown_interception()
2246 if (sev_es_guest(vcpu->kvm)) in io_interception()
2577 if (!sev_es_guest(svm->vcpu.kvm)) in svm_clr_iret_intercept()
2583 if (!sev_es_guest(svm->vcpu.kvm)) in svm_set_iret_intercept()
2591 WARN_ON_ONCE(sev_es_guest(vcpu->kvm)); in iret_interception()
2765 if (sev_es_guest(vcpu->kvm)) in dr_interception()
2847 return sev_es_guest(vcpu->kvm) && in sev_es_prevent_msr_access()
2975 if (!err || !sev_es_guest(vcpu->kvm) || WARN_ON_ONCE(!svm->sev_es.ghcb)) in svm_complete_emulated_msr()
3149 if (boot_cpu_has(X86_FEATURE_V_TSC_AUX) && sev_es_guest(vcpu->kvm)) in svm_set_msr()
3259 in_kernel = !sev_es_guest(vcpu->kvm) && svm_get_cpl(vcpu) == 0; in pause_interception()
3550 if (!sev_es_guest(vcpu->kvm)) { in svm_handle_exit()
3744 if (sev_es_guest(vcpu->kvm)) in svm_update_cr8_intercept()
3933 if (sev_es_guest(vcpu->kvm)) in svm_enable_nmi_window()
4190 if (sev_es_guest(vcpu->kvm)) in svm_vcpu_enter_exit()
4270 if (!sev_es_guest(vcpu->kvm)) { in svm_vcpu_run()
4378 if (kvm && sev_es_guest(kvm)) in svm_has_emulated_msr()
4816 if (sev_es_guest(vcpu->kvm)) in svm_check_emulate_instruction()
4953 if (!sev_es_guest(vcpu->kvm)) in svm_vcpu_deliver_sipi_vector()