Home
last modified time | relevance | path

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

/linux-6.1.9/arch/x86/kvm/svm/
Dsvm.h206 struct vcpu_svm { struct
300 void recalc_intercepts(struct vcpu_svm *svm); argument
350 static __always_inline struct vcpu_svm *to_svm(struct kvm_vcpu *vcpu) in to_svm()
352 return container_of(vcpu, struct vcpu_svm, vcpu); in to_svm()
389 static inline void set_dr_intercepts(struct vcpu_svm *svm) in set_dr_intercepts()
416 static inline void clr_dr_intercepts(struct vcpu_svm *svm) in clr_dr_intercepts()
431 static inline void set_exception_intercept(struct vcpu_svm *svm, u32 bit) in set_exception_intercept()
441 static inline void clr_exception_intercept(struct vcpu_svm *svm, u32 bit) in clr_exception_intercept()
451 static inline void svm_set_intercept(struct vcpu_svm *svm, int bit) in svm_set_intercept()
460 static inline void svm_clr_intercept(struct vcpu_svm *svm, int bit) in svm_clr_intercept()
[all …]
Dsvm.c299 struct vcpu_svm *svm = to_svm(vcpu); in svm_set_efer()
351 struct vcpu_svm *svm = to_svm(vcpu); in svm_get_interrupt_shadow()
361 struct vcpu_svm *svm = to_svm(vcpu); in svm_set_interrupt_shadow()
373 struct vcpu_svm *svm = to_svm(vcpu); in __svm_skip_emulated_instruction()
416 struct vcpu_svm *svm = to_svm(vcpu); in svm_update_soft_interrupt_rip()
461 struct vcpu_svm *svm = to_svm(vcpu); in svm_inject_exception()
687 struct vcpu_svm *svm = to_svm(vcpu); in set_shadow_msr_intercept()
741 struct vcpu_svm *svm = to_svm(vcpu); in set_msr_interception_bitmap()
808 void svm_set_x2apic_msr_interception(struct vcpu_svm *svm, bool intercept) in svm_set_x2apic_msr_interception()
839 struct vcpu_svm *svm = to_svm(vcpu); in svm_msr_filter_changed()
[all …]
Davic.c66 static void avic_activate_vmcb(struct vcpu_svm *svm) in avic_activate_vmcb()
96 static void avic_deactivate_vmcb(struct vcpu_svm *svm) in avic_deactivate_vmcb()
220 void avic_init_vmcb(struct vcpu_svm *svm, struct vmcb *vmcb) in avic_init_vmcb()
290 struct vcpu_svm *svm = to_svm(vcpu); in avic_init_backing_page()
489 struct vcpu_svm *svm = to_svm(vcpu); in avic_incomplete_ipi_interception()
591 struct vcpu_svm *svm = to_svm(vcpu); in avic_invalidate_logical_id_entry()
607 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()
693 struct vcpu_svm *svm = to_svm(vcpu); in avic_unaccelerated_access_interception()
717 int avic_init_vcpu(struct vcpu_svm *svm) in avic_init_vcpu()
[all …]
Dnested.c38 struct vcpu_svm *svm = to_svm(vcpu); in nested_svm_inject_npf_exit()
60 struct vcpu_svm *svm = to_svm(vcpu); in nested_svm_get_tdp_pdptr()
74 struct vcpu_svm *svm = to_svm(vcpu); in nested_svm_get_tdp_cr3()
81 struct vcpu_svm *svm = to_svm(vcpu); in nested_svm_init_mmu_context()
107 static bool nested_vmcb_needs_vls_intercept(struct vcpu_svm *svm) in nested_vmcb_needs_vls_intercept()
121 void recalc_intercepts(struct vcpu_svm *svm) in recalc_intercepts()
180 static bool nested_svm_vmrun_msrpm(struct vcpu_svm *svm) in nested_svm_vmrun_msrpm()
318 struct vcpu_svm *svm = to_svm(vcpu); in nested_vmcb_check_save()
326 struct vcpu_svm *svm = to_svm(vcpu); in nested_vmcb_check_controls()
377 void nested_copy_vmcb_control_to_cache(struct vcpu_svm *svm, in nested_copy_vmcb_control_to_cache()
[all …]
Dsev.c564 static int sev_es_sync_vmsa(struct vcpu_svm *svm) in sev_es_sync_vmsa()
617 struct vcpu_svm *svm = to_svm(vcpu); in __sev_launch_update_vmsa()
1670 struct vcpu_svm *dst_svm, *src_svm; in sev_migrate_from()
2332 struct vcpu_svm *svm; in sev_free_vcpu()
2348 static void dump_ghcb(struct vcpu_svm *svm) in dump_ghcb()
2373 static void sev_es_sync_to_ghcb(struct vcpu_svm *svm) in sev_es_sync_to_ghcb()
2392 static void sev_es_sync_from_ghcb(struct vcpu_svm *svm) in sev_es_sync_from_ghcb()
2437 static int sev_es_validate_vmgexit(struct vcpu_svm *svm) in sev_es_validate_vmgexit()
2569 void sev_es_unmap_ghcb(struct vcpu_svm *svm) in sev_es_unmap_ghcb()
2601 void pre_sev_run(struct vcpu_svm *svm, int cpu) in pre_sev_run()
[all …]
/linux-6.1.9/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()