/Linux-v6.6/arch/x86/kvm/vmx/ |
D | vmx.h | 250 struct kvm_vcpu vcpu; member 423 static inline void vmx_set_intercept_for_msr(struct kvm_vcpu *vcpu, u32 msr, in vmx_set_intercept_for_msr() 653 static __always_inline struct vcpu_vmx *to_vmx(struct kvm_vcpu *vcpu) in to_vmx() 658 static inline struct lbr_desc *vcpu_to_lbr_desc(struct kvm_vcpu *vcpu) in vcpu_to_lbr_desc() 663 static inline struct x86_pmu_lbr *vcpu_to_lbr_records(struct kvm_vcpu *vcpu) in vcpu_to_lbr_records() 668 static inline bool intel_pmu_lbr_is_enabled(struct kvm_vcpu *vcpu) in intel_pmu_lbr_is_enabled() 677 static __always_inline unsigned long vmx_get_exit_qual(struct kvm_vcpu *vcpu) in vmx_get_exit_qual() 687 static __always_inline u32 vmx_get_intr_info(struct kvm_vcpu *vcpu) in vmx_get_intr_info() 715 static inline bool vmx_need_pf_intercept(struct kvm_vcpu *vcpu) in vmx_need_pf_intercept() 723 static inline bool is_unrestricted_guest(struct kvm_vcpu *vcpu) in is_unrestricted_guest() [all …]
|
/Linux-v6.6/tools/testing/selftests/kvm/s390x/ |
D | debug_test.c | 19 static struct kvm_vm *test_step_int_1(struct kvm_vcpu **vcpu, void *guest_code, in test_step_int_1() 44 struct kvm_vcpu *vcpu; in test_step_int() local 81 struct kvm_vcpu *vcpu; in test_step_pgm_diag() local
|
/Linux-v6.6/arch/arm64/kvm/hyp/ |
D | vgic-v2-cpuif-proxy.c | 18 static bool __is_be(struct kvm_vcpu *vcpu) in __is_be() 37 int __vgic_v2_perform_cpuif_access(struct kvm_vcpu *vcpu) in __vgic_v2_perform_cpuif_access()
|
/Linux-v6.6/arch/x86/kvm/svm/ |
D | hyperv.h | 14 static inline void nested_svm_hv_update_vm_vp_ids(struct kvm_vcpu *vcpu) in nested_svm_hv_update_vm_vp_ids() 28 static inline bool nested_svm_l2_tlb_flush_enabled(struct kvm_vcpu *vcpu) in nested_svm_l2_tlb_flush_enabled()
|
D | sev.c | 624 static int __sev_launch_update_vmsa(struct kvm *kvm, struct kvm_vcpu *vcpu, in __sev_launch_update_vmsa() 662 struct kvm_vcpu *vcpu; in sev_launch_update_vmsa() local 1627 struct kvm_vcpu *vcpu; in sev_lock_vcpus_for_migration() local 1666 struct kvm_vcpu *vcpu; in sev_unlock_vcpus_for_migration() local 2310 static void sev_flush_encrypted_page(struct kvm_vcpu *vcpu, void *va) in sev_flush_encrypted_page() 2354 void sev_free_vcpu(struct kvm_vcpu *vcpu) in sev_free_vcpu() 2399 struct kvm_vcpu *vcpu = &svm->vcpu; in sev_es_sync_to_ghcb() local 2419 struct kvm_vcpu *vcpu = &svm->vcpu; in sev_es_sync_from_ghcb() local 2473 struct kvm_vcpu *vcpu = &svm->vcpu; in sev_es_validate_vmgexit() local 2755 struct kvm_vcpu *vcpu = &svm->vcpu; in sev_handle_vmgexit_msr_protocol() local [all …]
|
/Linux-v6.6/arch/powerpc/include/asm/ |
D | asm-prototypes.h | 63 static inline void kvmppc_save_tm_hv(struct kvm_vcpu *vcpu, u64 msr, in kvmppc_save_tm_hv() 65 static inline void kvmppc_restore_tm_hv(struct kvm_vcpu *vcpu, u64 msr, in kvmppc_restore_tm_hv()
|
/Linux-v6.6/arch/powerpc/kvm/ |
D | book3s_hv_p9_perf.c | 35 void switch_pmu_to_guest(struct kvm_vcpu *vcpu, in switch_pmu_to_guest() 118 void switch_pmu_to_host(struct kvm_vcpu *vcpu, in switch_pmu_to_host()
|
D | book3s_hv_tm.c | 16 static void emulate_tx_failure(struct kvm_vcpu *vcpu, u64 failure_cause) in emulate_tx_failure() 42 int kvmhv_p9_tm_emulation(struct kvm_vcpu *vcpu) in kvmhv_p9_tm_emulation()
|
D | e500_mmu_host.c | 158 void kvmppc_map_magic(struct kvm_vcpu *vcpu) in kvmppc_map_magic() 295 void kvmppc_core_flush_tlb(struct kvm_vcpu *vcpu) in kvmppc_core_flush_tlb() 305 struct kvm_vcpu *vcpu, in kvmppc_e500_setup_stlbe() 586 void kvmppc_mmu_map(struct kvm_vcpu *vcpu, u64 eaddr, gpa_t gpaddr, in kvmppc_mmu_map() 625 int kvmppc_load_last_inst(struct kvm_vcpu *vcpu, in kvmppc_load_last_inst() 715 int kvmppc_load_last_inst(struct kvm_vcpu *vcpu, in kvmppc_load_last_inst()
|
/Linux-v6.6/arch/riscv/kvm/ |
D | vcpu_sbi_pmu.c | 16 static int kvm_sbi_ext_pmu_handler(struct kvm_vcpu *vcpu, struct kvm_run *run, in kvm_sbi_ext_pmu_handler() 74 static unsigned long kvm_sbi_ext_pmu_probe(struct kvm_vcpu *vcpu) in kvm_sbi_ext_pmu_probe()
|
D | vcpu_sbi_base.c | 16 static int kvm_sbi_ext_base_handler(struct kvm_vcpu *vcpu, struct kvm_run *run, in kvm_sbi_ext_base_handler() 75 static int kvm_sbi_ext_forward_handler(struct kvm_vcpu *vcpu, in kvm_sbi_ext_forward_handler()
|
/Linux-v6.6/arch/arm64/kvm/hyp/vhe/ |
D | sysreg-sr.c | 65 void kvm_vcpu_load_sysregs_vhe(struct kvm_vcpu *vcpu) in kvm_vcpu_load_sysregs_vhe() 110 void kvm_vcpu_put_sysregs_vhe(struct kvm_vcpu *vcpu) in kvm_vcpu_put_sysregs_vhe()
|
/Linux-v6.6/tools/testing/selftests/kvm/lib/aarch64/ |
D | vgic.c | 130 static void vgic_poke_irq(int gic_fd, uint32_t intid, struct kvm_vcpu *vcpu, in vgic_poke_irq() 162 void kvm_irq_write_ispendr(int gic_fd, uint32_t intid, struct kvm_vcpu *vcpu) in kvm_irq_write_ispendr() 167 void kvm_irq_write_isactiver(int gic_fd, uint32_t intid, struct kvm_vcpu *vcpu) in kvm_irq_write_isactiver()
|
/Linux-v6.6/tools/testing/selftests/kvm/ |
D | get-reg-list.c | 83 bool __weak check_supported_reg(struct kvm_vcpu *vcpu, __u64 reg) in check_supported_reg() 113 void __weak finalize_vcpu(struct kvm_vcpu *vcpu, struct vcpu_reg_list *c) in finalize_vcpu() 130 struct kvm_vcpu *vcpu; in vcpu_config_get_vcpu() local 167 struct kvm_vcpu *vcpu; in run_test() local
|
D | guest_print_test.c | 109 static void run_test(struct kvm_vcpu *vcpu, const char *expected_printf, in run_test() 154 struct kvm_vcpu *vcpu; in test_limits() local 176 struct kvm_vcpu *vcpu; in main() local
|
/Linux-v6.6/arch/arm64/kvm/ |
D | trng.c | 24 static int kvm_trng_do_rnd(struct kvm_vcpu *vcpu, int size) in kvm_trng_do_rnd() 51 int kvm_trng_call(struct kvm_vcpu *vcpu) in kvm_trng_call()
|
/Linux-v6.6/tools/testing/selftests/kvm/x86_64/ |
D | hyperv_features.c | 117 static void vcpu_reset_hv_cpuid(struct kvm_vcpu *vcpu) in vcpu_reset_hv_cpuid() 133 struct kvm_vcpu *vcpu; in guest_test_msrs_access() local 524 struct kvm_vcpu *vcpu; in guest_test_hcalls_access() local
|
D | nested_exceptions_test.c | 167 static void assert_ucall_vector(struct kvm_vcpu *vcpu, int vector) in assert_ucall_vector() 190 static void queue_ss_exception(struct kvm_vcpu *vcpu, bool inject) in queue_ss_exception() 221 struct kvm_vcpu *vcpu; in main() local
|
D | set_sregs_test.c | 25 #define TEST_INVALID_CR_BIT(vcpu, cr, orig, bit) \ argument 79 struct kvm_vcpu *vcpu; in main() local
|
D | tsc_msrs_test.c | 67 static void run_vcpu(struct kvm_vcpu *vcpu, int stage) in run_vcpu() 96 struct kvm_vcpu *vcpu; in main() local
|
D | debug_regs.c | 69 static void vcpu_skip_insn(struct kvm_vcpu *vcpu, int insn_len) in vcpu_skip_insn() 82 struct kvm_vcpu *vcpu; in main() local
|
D | fix_hypercall_test.c | 86 static void enter_guest(struct kvm_vcpu *vcpu) in enter_guest() 108 struct kvm_vcpu *vcpu; in test_fix_hypercall() local
|
/Linux-v6.6/tools/testing/selftests/kvm/aarch64/ |
D | psci_test.c | 66 static void vcpu_power_off(struct kvm_vcpu *vcpu) in vcpu_power_off() 92 static void enter_guest(struct kvm_vcpu *vcpu) in enter_guest() 101 static void assert_vcpu_reset(struct kvm_vcpu *vcpu) in assert_vcpu_reset()
|
/Linux-v6.6/arch/x86/kvm/ |
D | i8254.c | 218 void __kvm_migrate_pit_timer(struct kvm_vcpu *vcpu) in __kvm_migrate_pit_timer() 244 struct kvm_vcpu *vcpu; in pit_do_work() local 438 static int pit_ioport_write(struct kvm_vcpu *vcpu, in pit_ioport_write() 513 static int pit_ioport_read(struct kvm_vcpu *vcpu, in pit_ioport_read() 583 static int speaker_ioport_write(struct kvm_vcpu *vcpu, in speaker_ioport_write() 603 static int speaker_ioport_read(struct kvm_vcpu *vcpu, in speaker_ioport_read()
|
/Linux-v6.6/tools/testing/selftests/kvm/lib/ |
D | kvm_util.c | 420 struct kvm_vm *__vm_create_with_one_vcpu(struct kvm_vcpu **vcpu, in __vm_create_with_one_vcpu() 622 __weak void vcpu_arch_free(struct kvm_vcpu *vcpu) in vcpu_arch_free() 639 static void vm_vcpu_rm(struct kvm_vm *vm, struct kvm_vcpu *vcpu) in vm_vcpu_rm() 663 struct kvm_vcpu *vcpu, *tmp; in kvm_vm_release() local 1202 struct kvm_vcpu *vcpu; in vcpu_exists() local 1218 struct kvm_vcpu *vcpu; in __vm_vcpu_add() local 1576 int _vcpu_run(struct kvm_vcpu *vcpu) in _vcpu_run() 1593 void vcpu_run(struct kvm_vcpu *vcpu) in vcpu_run() 1600 void vcpu_run_complete_io(struct kvm_vcpu *vcpu) in vcpu_run_complete_io() 1618 struct kvm_reg_list *vcpu_get_reg_list(struct kvm_vcpu *vcpu) in vcpu_get_reg_list() [all …]
|