Searched refs:lapic_in_kernel (Results 1 – 14 of 14) sorted by relevance
27 if (lapic_in_kernel(vcpu)) in kvm_cpu_has_pending_timer()61 if (!lapic_in_kernel(v)) in kvm_cpu_has_extint()114 WARN_ON(!lapic_in_kernel(v)); in kvm_cpu_get_extint()118 if (!lapic_in_kernel(v)) in kvm_cpu_get_extint()148 if (lapic_in_kernel(vcpu)) in kvm_inject_pending_timer_irqs()
165 static inline bool lapic_in_kernel(struct kvm_vcpu *vcpu) in lapic_in_kernel() function192 return lapic_in_kernel(vcpu) && kvm_apic_hw_enabled(vcpu->arch.apic); in kvm_apic_present()212 return lapic_in_kernel(vcpu) && vcpu->arch.apic->pending_events; in kvm_apic_has_events()223 return lapic_in_kernel(vcpu) && test_bit(KVM_APIC_INIT, &vcpu->arch.apic->pending_events); in kvm_lapic_latched_init()
64 if (lapic_in_kernel(vcpu)) in kvm_arch_create_vcpu_debugfs()
406 if (!lapic_in_kernel(vcpu)) in kvm_apic_set_version()1671 if (lapic_in_kernel(vcpu) && in kvm_wait_lapic_expire()1881 if (!lapic_in_kernel(vcpu)) in kvm_lapic_hv_timer_in_use()2737 if (!lapic_in_kernel(vcpu) || in __kvm_migrate_apic_timer()2904 if (!lapic_in_kernel(vcpu) || !apic_x2apic_mode(apic)) in kvm_x2apic_msr_write()2915 if (!lapic_in_kernel(vcpu) || !apic_x2apic_mode(apic)) in kvm_x2apic_msr_read()2926 if (!lapic_in_kernel(vcpu)) in kvm_hv_vapic_msr_write()2934 if (!lapic_in_kernel(vcpu)) in kvm_hv_vapic_msr_read()2973 if (!lapic_in_kernel(vcpu)) in kvm_apic_accept_events()
1289 if (lapic_in_kernel(vcpu)) in kvm_set_cr8()1299 if (lapic_in_kernel(vcpu)) in kvm_get_cr8()2114 if (!lapic_in_kernel(vcpu) || !apic_x2apic_mode(vcpu->arch.apic)) in handle_fastpath_set_x2apic_icr_irqoff()3312 if (!lapic_in_kernel(vcpu)) in kvm_pv_enable_async_pf()3341 if (!lapic_in_kernel(vcpu)) in kvm_pv_enable_async_pf_int()4756 return (!lapic_in_kernel(vcpu) || in kvm_cpu_accept_dm_intr()5032 lapic_in_kernel(vcpu)) in kvm_vcpu_ioctl_x86_set_vcpu_events()5050 if (lapic_in_kernel(vcpu)) { in kvm_vcpu_ioctl_x86_set_vcpu_events()5362 if (!lapic_in_kernel(vcpu)) in kvm_arch_vcpu_ioctl()5381 if (!lapic_in_kernel(vcpu)) in kvm_arch_vcpu_ioctl()[all …]
413 if (lapic_in_kernel(vcpu)) { in kvm_pmu_deliver_pmi()
459 if (KVM_BUG_ON(!lapic_in_kernel(vcpu), vcpu->kvm)) in synic_set_irq()819 if (lapic_in_kernel(vcpu)) in stimer_notify_direct()2516 if (!vcpu || lapic_in_kernel(vcpu)) in kvm_get_hv_cpuid()
1004 if (!longmode || !lapic_in_kernel(vcpu) || in kvm_xen_schedop_poll()
120 return cpu_has_vmx_tpr_shadow() && lapic_in_kernel(vcpu); in cpu_need_tpr_shadow()
64 if (!enable_apicv || !lapic_in_kernel(vcpu)) in vmx_vcpu_pi_load()
598 return flexpriority_enabled && lapic_in_kernel(vcpu); in cpu_need_virtualize_apic_accesses()4466 if (enable_apicv && lapic_in_kernel(&vmx->vcpu)) { in init_vmcs()5196 if (lapic_in_kernel(vcpu)) in handle_cr()6378 if (!lapic_in_kernel(vcpu)) in vmx_set_virtual_apic_mode()
3902 if (lapic_in_kernel(vcpu) && in vmx_check_nested_events()3913 if (lapic_in_kernel(vcpu) && in vmx_check_nested_events()
1303 if (lapic_in_kernel(vcpu) && in svm_check_nested_events()
2582 if (lapic_in_kernel(vcpu)) in cr8_write_interception()