Home
last modified time | relevance | path

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

/arch/x86/kvm/
Dkvm_cache_regs.h13 kvm_x86_ops->cache_reg(vcpu, reg); in kvm_register_read()
43 kvm_x86_ops->cache_reg(vcpu, VCPU_EXREG_PDPTR); in kvm_pdptr_read()
52 kvm_x86_ops->decache_cr0_guest_bits(vcpu); in kvm_read_cr0_bits()
65 kvm_x86_ops->decache_cr4_guest_bits(vcpu); in kvm_read_cr4_bits()
72 kvm_x86_ops->decache_cr3(vcpu); in kvm_read_cr3()
Dx86.c89 struct kvm_x86_ops *kvm_x86_ops; variable
90 EXPORT_SYMBOL_GPL(kvm_x86_ops);
346 kvm_x86_ops->skip_emulated_instruction(vcpu); in kvm_complete_insn_gp()
391 if (kvm_x86_ops->get_cpl(vcpu) <= required_cpl) in kvm_require_cpl()
521 kvm_x86_ops->get_cs_db_l_bits(vcpu, &cs_db, &cs_l); in kvm_set_cr0()
531 kvm_x86_ops->set_cr0(vcpu, cr0); in kvm_set_cr0()
571 if (kvm_x86_ops->get_cpl(vcpu) != 0 || in kvm_set_xcr()
606 if (kvm_x86_ops->set_cr4(vcpu, cr4)) in kvm_set_cr4()
709 kvm_x86_ops->set_dr7(vcpu, vcpu->arch.dr7); in __kvm_set_dr()
844 kvm_x86_ops->set_efer(vcpu, efer); in set_efer()
[all …]
Dcpuid.c114 kvm_x86_ops->cpuid_update(vcpu); in kvm_vcpu_ioctl_set_cpuid()
138 kvm_x86_ops->cpuid_update(vcpu); in kvm_vcpu_ioctl_set_cpuid2()
196 unsigned f_gbpages = (kvm_x86_ops->get_lpage_level() == PT_PDPE_LEVEL) in do_cpuid_ent()
203 unsigned f_rdtscp = kvm_x86_ops->rdtscp_supported() ? F(RDTSCP) : 0; in do_cpuid_ent()
468 kvm_x86_ops->set_supported_cpuid(function, entry); in do_cpuid_ent()
663 kvm_x86_ops->skip_emulated_instruction(vcpu); in kvm_emulate_cpuid()
Dtrace.h294 kvm_x86_ops->get_exit_info(vcpu, &__entry->info1,
777 __entry->csbase = kvm_x86_ops->get_segment_base(vcpu, VCPU_SREG_CS);
Dmmu.c788 max_level = kvm_x86_ops->get_lpage_level() < host_level ? in mapping_level()
789 kvm_x86_ops->get_lpage_level() : host_level; in mapping_level()
2216 spte |= kvm_x86_ops->get_mt_mask(vcpu, gfn, in set_spte()
3017 return kvm_x86_ops->interrupt_allowed(vcpu); in can_do_async_pf()
3315 context->shadow_root_level = kvm_x86_ops->get_tdp_level(); in init_kvm_tdp_mmu()
3318 context->set_cr3 = kvm_x86_ops->set_tdp_cr3; in init_kvm_tdp_mmu()
3376 vcpu->arch.walk_mmu->set_cr3 = kvm_x86_ops->set_cr3; in init_kvm_softmmu()
Dlapic.c743 guest_tsc = kvm_x86_ops->read_l1_tsc(vcpu); in start_apic_timer()
Dvmx.c2629 kvm_x86_ops->update_cr8_intercept = NULL; in hardware_setup()
7098 static struct kvm_x86_ops vmx_x86_ops = {
Dsvm.c4233 static struct kvm_x86_ops svm_x86_ops = {
/arch/x86/include/asm/
Dkvm_host.h587 struct kvm_x86_ops { struct
691 extern struct kvm_x86_ops *kvm_x86_ops; argument
696 kvm_x86_ops->adjust_tsc_offset(vcpu, adjustment, false); in adjust_tsc_offset_guest()
701 kvm_x86_ops->adjust_tsc_offset(vcpu, adjustment, true); in adjust_tsc_offset_host()