Home
last modified time | relevance | path

Searched refs:vcpu_svm (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/arch/x86/kvm/svm/
Dsvm.h244 struct vcpu_svm { struct
349 void recalc_intercepts(struct vcpu_svm *svm); argument
395 static inline bool ghcb_gpa_is_registered(struct vcpu_svm *svm, u64 val) in ghcb_gpa_is_registered()
421 static __always_inline struct vcpu_svm *to_svm(struct kvm_vcpu *vcpu) in to_svm()
423 return container_of(vcpu, struct vcpu_svm, vcpu); in to_svm()
460 static inline void set_exception_intercept(struct vcpu_svm *svm, u32 bit) in set_exception_intercept()
470 static inline void clr_exception_intercept(struct vcpu_svm *svm, u32 bit) in clr_exception_intercept()
480 static inline void svm_set_intercept(struct vcpu_svm *svm, int bit) in svm_set_intercept()
489 static inline void svm_clr_intercept(struct vcpu_svm *svm, int bit) in svm_clr_intercept()
498 static inline bool svm_is_intercept(struct vcpu_svm *svm, int bit) in svm_is_intercept()
[all …]
Dsvm.c300 struct vcpu_svm *svm = to_svm(vcpu); in svm_set_efer()
352 struct vcpu_svm *svm = to_svm(vcpu); in svm_get_interrupt_shadow()
362 struct vcpu_svm *svm = to_svm(vcpu); in svm_set_interrupt_shadow()
374 struct vcpu_svm *svm = to_svm(vcpu); in __svm_skip_emulated_instruction()
417 struct vcpu_svm *svm = to_svm(vcpu); in svm_update_soft_interrupt_rip()
462 struct vcpu_svm *svm = to_svm(vcpu); in svm_inject_exception()
729 static void set_dr_intercepts(struct vcpu_svm *svm) in set_dr_intercepts()
753 static void clr_dr_intercepts(struct vcpu_svm *svm) in clr_dr_intercepts()
776 struct vcpu_svm *svm = to_svm(vcpu); in set_shadow_msr_intercept()
830 struct vcpu_svm *svm = to_svm(vcpu); in set_msr_interception_bitmap()
[all …]
Davic.c85 static void avic_activate_vmcb(struct vcpu_svm *svm) in avic_activate_vmcb()
120 static void avic_deactivate_vmcb(struct vcpu_svm *svm) in avic_deactivate_vmcb()
244 void avic_init_vmcb(struct vcpu_svm *svm, struct vmcb *vmcb) in avic_init_vmcb()
281 struct vcpu_svm *svm = to_svm(vcpu); in avic_init_backing_page()
492 struct vcpu_svm *svm = to_svm(vcpu); in avic_incomplete_ipi_interception()
597 struct vcpu_svm *svm = to_svm(vcpu); in avic_invalidate_logical_id_entry()
612 struct vcpu_svm *svm = to_svm(vcpu); in avic_handle_ldr_update()
631 struct vcpu_svm *svm = to_svm(vcpu); in avic_handle_dfr_update()
695 struct vcpu_svm *svm = to_svm(vcpu); in avic_unaccelerated_access_interception()
719 int avic_init_vcpu(struct vcpu_svm *svm) in avic_init_vcpu()
[all …]
Dnested.c39 struct vcpu_svm *svm = to_svm(vcpu); in nested_svm_inject_npf_exit()
61 struct vcpu_svm *svm = to_svm(vcpu); in nested_svm_get_tdp_pdptr()
79 struct vcpu_svm *svm = to_svm(vcpu); in nested_svm_get_tdp_cr3()
86 struct vcpu_svm *svm = to_svm(vcpu); in nested_svm_init_mmu_context()
112 static bool nested_vmcb_needs_vls_intercept(struct vcpu_svm *svm) in nested_vmcb_needs_vls_intercept()
126 void recalc_intercepts(struct vcpu_svm *svm) in recalc_intercepts()
192 static bool nested_svm_vmrun_msrpm(struct vcpu_svm *svm) in nested_svm_vmrun_msrpm()
325 struct vcpu_svm *svm = to_svm(vcpu); in nested_vmcb_check_save()
333 struct vcpu_svm *svm = to_svm(vcpu); in nested_vmcb_check_controls()
386 void nested_copy_vmcb_control_to_cache(struct vcpu_svm *svm, in nested_copy_vmcb_control_to_cache()
[all …]
Dhyperv.h17 struct vcpu_svm *svm = to_svm(vcpu); in nested_svm_hv_update_vm_vp_ids()
31 struct vcpu_svm *svm = to_svm(vcpu); in nested_svm_l2_tlb_flush_enabled()
Dsev.c140 static bool sev_vcpu_has_debug_swap(struct vcpu_svm *svm) in sev_vcpu_has_debug_swap()
807 static int sev_es_sync_vmsa(struct vcpu_svm *svm) in sev_es_sync_vmsa()
906 struct vcpu_svm *svm = to_svm(vcpu); in __sev_launch_update_vmsa()
1979 struct vcpu_svm *dst_svm, *src_svm; in sev_migrate_from()
2456 struct vcpu_svm *svm = to_svm(vcpu); in snp_launch_update_vmsa()
3170 struct vcpu_svm *svm; in sev_free_vcpu()
3199 static void dump_ghcb(struct vcpu_svm *svm) in dump_ghcb()
3224 static void sev_es_sync_to_ghcb(struct vcpu_svm *svm) in sev_es_sync_to_ghcb()
3243 static void sev_es_sync_from_ghcb(struct vcpu_svm *svm) in sev_es_sync_from_ghcb()
3297 static int sev_es_validate_vmgexit(struct vcpu_svm *svm) in sev_es_validate_vmgexit()
[all …]
Dhyperv.c11 struct vcpu_svm *svm = to_svm(vcpu); in svm_hv_inject_synthetic_vmexit_post_tlb_flush()
/linux-6.12.1/arch/x86/kvm/
Dkvm-asm-offsets.c17 OFFSET(SVM_vcpu_arch_regs, vcpu_svm, vcpu.arch.regs); in common()
18 OFFSET(SVM_current_vmcb, vcpu_svm, current_vmcb); in common()
19 OFFSET(SVM_spec_ctrl, vcpu_svm, spec_ctrl); in common()
20 OFFSET(SVM_vmcb01, vcpu_svm, vmcb01); in common()