Lines Matching refs:is_guest_mode

875 	if (is_guest_mode(vcpu))  in vmx_update_exception_bitmap()
1720 if (!is_guest_mode(vcpu)) in vmx_update_emulated_instruction()
2186 if (is_guest_mode(vcpu)) in vmx_set_msr()
2191 if (is_guest_mode(vcpu)) { in vmx_set_msr()
2198 if (is_guest_mode(vcpu)) { in vmx_set_msr()
2217 if (is_guest_mode(vcpu) && get_vmcs12(vcpu)->vm_exit_controls & in vmx_set_msr()
2236 if (is_guest_mode(vcpu) && in vmx_set_msr()
2319 if (is_guest_mode(vcpu) && in vmx_set_msr()
3184 if (is_guest_mode(vcpu)) in vmx_get_current_vpid()
3323 } else if (!is_guest_mode(vcpu)) { in vmx_set_cr0()
3362 (!is_guest_mode(vcpu) || nested_ept_ad_enabled(vcpu))) in construct_eptp()
3438 } else if (!is_guest_mode(vcpu) || in vmx_set_cr4()
4104 if (WARN_ON_ONCE(!is_guest_mode(vcpu)) || in vmx_guest_apic_has_interrupt()
4194 if (is_guest_mode(vcpu) && in vmx_deliver_nested_posted_interrupt()
4356 if (is_guest_mode(&vmx->vcpu)) in set_cr4_guest_host_mask()
4425 if (is_guest_mode(vcpu)) { in vmx_refresh_apicv_exec_ctrl()
5014 if (is_guest_mode(vcpu) && nested_exit_on_nmi(vcpu)) in vmx_nmi_blocked()
5031 if (for_injection && is_guest_mode(vcpu) && nested_exit_on_nmi(vcpu)) in vmx_nmi_allowed()
5039 if (is_guest_mode(vcpu) && nested_exit_on_intr(vcpu)) in vmx_interrupt_blocked()
5056 if (for_injection && is_guest_mode(vcpu) && nested_exit_on_intr(vcpu)) in vmx_interrupt_allowed()
5382 if (is_guest_mode(vcpu)) { in handle_set_cr0()
5415 if (is_guest_mode(vcpu)) { in handle_set_cr4()
5799 if (!is_guest_mode(vcpu) && in handle_ept_misconfig()
6414 if (enable_pml && !is_guest_mode(vcpu)) in __vmx_handle_exit()
6426 if (is_guest_mode(vcpu)) { in __vmx_handle_exit()
6671 if (is_guest_mode(vcpu) && in vmx_update_cr8_intercept()
6676 if (is_guest_mode(vcpu)) in vmx_update_cr8_intercept()
6695 if (is_guest_mode(vcpu)) { in vmx_set_virtual_apic_mode()
6741 if (is_guest_mode(vcpu)) { in vmx_set_apic_access_page_addr()
6808 if (!is_guest_mode(vcpu)) in vmx_hwapic_irr_update()
6850 if (!is_guest_mode(vcpu) && kvm_vcpu_apicv_active(vcpu)) in vmx_sync_pir_to_irr()
7343 if (is_guest_mode(vcpu)) { in vmx_vcpu_run()
7376 if (is_guest_mode(vcpu)) in vmx_vcpu_run()
8007 if (is_guest_mode(vcpu)) { in vmx_update_cpu_dirty_logging()
8053 vmx->nested.smm.guest_mode = is_guest_mode(vcpu); in vmx_enter_smm()
8092 return to_vmx(vcpu)->nested.vmxon && !is_guest_mode(vcpu); in vmx_apic_init_signal_blocked()
8097 if (is_guest_mode(vcpu)) { in vmx_migrate_timers()