Home
last modified time | relevance | path

Searched refs:kvm_x86_ops (Results 1 – 11 of 11) sorted by relevance

/openbmc/linux/arch/x86/kvm/
H A Dkvm_onhyperv.c116 if (kvm_x86_ops.flush_remote_tlbs == hv_flush_remote_tlbs) { in hv_track_root_tdp()
H A Dx86.c136 struct kvm_x86_ops kvm_x86_ops __read_mostly;
140 *(((struct kvm_x86_ops *)0)->func));
643 kvm_x86_ops.nested_ops->leave_nested(vcpu); in kvm_leave_nested()
663 kvm_x86_ops.nested_ops->is_exception_vmexit(vcpu, nr, error_code)) { in kvm_multiple_exception()
4602 r = kvm_x86_ops.nested_ops->get_state ? in kvm_vm_ioctl_check_extension()
4603 kvm_x86_ops.nested_ops->get_state(NULL, NULL, 0) : 0; in kvm_vm_ioctl_check_extension()
4606 r = kvm_x86_ops.enable_l2_tlb_flush != NULL; in kvm_vm_ioctl_check_extension()
4609 r = kvm_x86_ops.nested_ops->enable_evmcs != NULL; in kvm_vm_ioctl_check_extension()
5619 if (!kvm_x86_ops.nested_ops->enable_evmcs) in kvm_vcpu_ioctl_enable_cap()
5621 r = kvm_x86_ops.nested_ops->enable_evmcs(vcpu, &vmcs_version); in kvm_vcpu_ioctl_enable_cap()
[all …]
H A Dlapic.c156 return kvm_x86_ops.set_hv_timer in kvm_can_use_hv_timer()
933 if (kvm_x86_ops.sync_pir_to_irr) in apic_has_interrupt_for_ppr()
2462 if (kvm_x86_ops.x2apic_icr_is_split) { in kvm_x2apic_icr_write()
2474 if (kvm_x86_ops.x2apic_icr_is_split) in kvm_x2apic_icr_read()
3012 if (!kvm_x86_ops.x2apic_icr_is_split) { in kvm_apic_state_fixup()
H A Dhyperv.c2347 kvm_x86_ops.nested_ops->hv_inject_synthetic_vmexit_post_tlb_flush(vcpu); in kvm_hv_hypercall_complete()
2731 if (kvm_x86_ops.nested_ops->get_evmcs_version) in kvm_get_hv_cpuid()
2732 evmcs_ver = kvm_x86_ops.nested_ops->get_evmcs_version(vcpu); in kvm_get_hv_cpuid()
/openbmc/linux/arch/x86/kvm/svm/
H A Dsvm_onhyperv.h16 static struct kvm_x86_ops svm_x86_ops;
H A Dsvm.c4962 static struct kvm_x86_ops svm_x86_ops __initdata = {
/openbmc/linux/arch/x86/include/asm/
H A Dkvm_host.h1552 struct kvm_x86_ops { struct
1784 struct kvm_x86_ops *runtime_ops;
1799 extern struct kvm_x86_ops kvm_x86_ops;
1802 DECLARE_STATIC_CALL(kvm_x86_##func, *(((struct kvm_x86_ops *)0)->func));
1813 return __vmalloc(kvm_x86_ops.vm_size, GFP_KERNEL_ACCOUNT | __GFP_ZERO); in kvm_arch_alloc_vm()
1822 if (kvm_x86_ops.flush_remote_tlbs && in kvm_arch_flush_remote_tlbs()
/openbmc/linux/arch/x86/kvm/mmu/
H A Dmmu_internal.h157 return kvm_x86_ops.cpu_dirty_log_size && sp->role.guest_mode; in kvm_mmu_page_ad_need_write_protect()
H A Dpaging_tmpl.h225 if (kvm_x86_ops.nested_ops->write_log_dirty(vcpu, addr)) in FNAME()
H A Dmmu.c274 return kvm_x86_ops.flush_remote_tlbs_range; in kvm_available_flush_remote_tlbs_range()
279 if (!kvm_x86_ops.flush_remote_tlbs_range) in kvm_arch_flush_remote_tlbs_range()
1397 if (kvm_x86_ops.cpu_dirty_log_size) in kvm_arch_mmu_enable_log_dirty_pt_masked()
1405 return kvm_x86_ops.cpu_dirty_log_size; in kvm_cpu_dirty_log_size()
1586 if (kvm_x86_ops.set_apic_access_page_addr && in kvm_unmap_gfn_range()
/openbmc/linux/arch/x86/kvm/vmx/
H A Dvmx.c531 static struct kvm_x86_ops vmx_x86_ops __initdata;
8253 static struct kvm_x86_ops vmx_x86_ops __initdata = {