Searched refs:is_guest_mode (Results 1 – 13 of 13) sorted by relevance
232 if (is_guest_mode(vcpu) && vcpu->wants_to_run) in svm_set_efer()675 void *msrpm = is_guest_mode(vcpu) ? to_svm(vcpu)->nested.msrpm : in msr_write_intercepted()880 (is_guest_mode(vcpu) && guest_cpu_cap_has(vcpu, X86_FEATURE_LBRV) && in svm_update_lbrv()924 if (WARN_ON_ONCE(is_guest_mode(vcpu))) in grow_ple_window()948 if (is_guest_mode(vcpu)) in shrink_ple_window()1583 if (is_guest_mode(&svm->vcpu)) { in svm_clear_vintr()1987 if ((error_code & PFERR_RSVD_MASK) && !is_guest_mode(vcpu)) { in npf_interception()2303 if (!is_guest_mode(vcpu)) in gp_interception()2326 if (!enable_vmware_backdoor || is_guest_mode(vcpu)) in gp_interception()2538 if (!is_guest_mode(vcpu) || in check_selective_cr0_intercepted()[all …]
544 if (is_guest_mode(&svm->vcpu)) in svm_mark_intercepts_dirty()602 if (is_guest_mode(&svm->vcpu) && !nested_vgif_enabled(svm)) in get_vgif_vmcb()663 if (is_guest_mode(&svm->vcpu)) in get_vnmi_vmcb_l1()826 return is_guest_mode(vcpu) && (svm->nested.ctl.int_ctl & V_INTR_MASKING_MASK); in nested_svm_virtualize_tpr()
247 if (is_guest_mode(&svm->vcpu) && in avic_deactivate_vmcb()674 if (is_guest_mode(vcpu)) in avic_vcpu_get_apicv_inhibit_reasons()905 .is_guest_mode = kvm_vcpu_apicv_active(vcpu), in avic_pi_update_irte()
1488 if (is_guest_mode(vcpu)) { in svm_leave_nested()1844 if (is_guest_mode(vcpu)) { in svm_get_nested_state()1859 if (!is_guest_mode(vcpu)) in svm_get_nested_state()1979 if (is_guest_mode(vcpu)) in svm_set_nested_state()2032 if (WARN_ON(!is_guest_mode(vcpu))) in svm_get_nested_state_pages()
928 if (is_guest_mode(vcpu)) in vmx_update_exception_bitmap()1586 if (!is_guest_mode(vcpu)) { in vmx_load_vmcs01()1597 if (!is_guest_mode(vcpu)) in vmx_put_vmcs01()1860 if (!is_guest_mode(vcpu)) in vmx_update_emulated_instruction()2342 if (is_guest_mode(vcpu)) in vmx_set_msr()2347 if (is_guest_mode(vcpu)) { in vmx_set_msr()2354 if (is_guest_mode(vcpu)) { in vmx_set_msr()2366 if (is_guest_mode(vcpu) && get_vmcs12(vcpu)->vm_exit_controls & in vmx_set_msr()2385 if (is_guest_mode(vcpu) && in vmx_set_msr()2442 if (is_guest_mode(vcpu) && in vmx_set_msr()[all …]
3528 if (is_guest_mode(vcpu) && !nested_get_vmcs12_pages(vcpu)) in vmx_get_nested_state_pages()3540 if (WARN_ON_ONCE(!is_guest_mode(vcpu))) in nested_vmx_write_pml_buffer()5633 struct vmcs12 *vmcs12 = is_guest_mode(vcpu) ? get_shadow_vmcs12(vcpu) in handle_vmread()5657 (is_guest_mode(vcpu) && in handle_vmread()5665 if (!is_guest_mode(vcpu) && is_vmcs12_ext_field(field)) in handle_vmread()5681 if (WARN_ON_ONCE(is_guest_mode(vcpu))) in handle_vmread()5739 struct vmcs12 *vmcs12 = is_guest_mode(vcpu) ? get_shadow_vmcs12(vcpu) in handle_vmwrite()5767 (is_guest_mode(vcpu) && in handle_vmwrite()5801 if (!is_guest_mode(vcpu) && !is_shadow_field_rw(field)) in handle_vmwrite()5823 if (!is_guest_mode(vcpu) && !is_shadow_field_rw(field)) { in handle_vmwrite()[all …]
40 bool is_guest_mode; member
244 static inline bool is_guest_mode(struct kvm_vcpu *vcpu) in is_guest_mode() function
855 if (is_guest_mode(vcpu) && in kvm_multiple_exception()981 if (is_guest_mode(vcpu) && fault->async_page_fault) in kvm_inject_page_fault()2726 if (is_guest_mode(vcpu)) in kvm_vcpu_write_tsc_offset()2742 if (is_guest_mode(vcpu)) in kvm_vcpu_write_tsc_multiplier()9196 if (!is_guest_mode(vcpu) && kvm_x86_call(get_cpl)(vcpu) == 0) { in handle_emulation_failure()9456 (WARN_ON_ONCE(is_guest_mode(vcpu)) || in x86_emulate_instruction()9590 r = x86_emulate_insn(ctxt, is_guest_mode(vcpu) && in x86_emulate_instruction()10589 if (is_guest_mode(vcpu)) in post_kvm_run_save()10699 if (is_guest_mode(vcpu)) in kvm_check_and_inject_events()10865 if (is_guest_mode(vcpu) && in kvm_check_and_inject_events()[all …]
101 if (!is_guest_mode(v) && kvm_vcpu_apicv_active(v)) in kvm_cpu_has_injectable_intr()
660 if (ret != X86EMUL_CONTINUE && is_guest_mode(vcpu)) in emulator_leave_smm()
4720 if (is_guest_mode(vcpu)) in kvm_mmu_faultin_pfn()5726 role.base.guest_mode = is_guest_mode(vcpu); in kvm_calc_cpu_role()6413 if (!is_guest_mode(vcpu)) in kvm_mmu_write_protect_fault()
4105 if (pi_data->is_guest_mode) in amd_ir_set_vcpu_affinity()