/openbmc/linux/arch/arm64/kvm/hyp/ |
H A 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()
|
/openbmc/linux/arch/x86/kvm/svm/ |
H A 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()
|
/openbmc/linux/tools/testing/selftests/kvm/s390x/ |
H A D | cmma_test.c | 235 struct kvm_vcpu *vcpu; in test_get_cmma_basic() local 269 static void assert_exit_was_hypercall(struct kvm_vcpu *vcpu) in assert_exit_was_hypercall() 280 struct kvm_vcpu *vcpu; in test_migration_mode() local 455 struct kvm_vcpu *vcpu; in test_get_inital_dirty() local 513 struct kvm_vcpu *vcpu; in test_get_skip_holes() local
|
H A 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
|
/openbmc/linux/arch/powerpc/include/asm/ |
H A 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()
|
/openbmc/linux/arch/powerpc/kvm/ |
H A 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()
|
H A D | book3s_paired_singles.c | 150 static inline void kvmppc_sync_qpr(struct kvm_vcpu *vcpu, int rt) in kvmppc_sync_qpr() 155 static void kvmppc_inject_pf(struct kvm_vcpu *vcpu, ulong eaddr, bool is_store) in kvmppc_inject_pf() 172 static int kvmppc_emulate_fpr_load(struct kvm_vcpu *vcpu, in kvmppc_emulate_fpr_load() 216 static int kvmppc_emulate_fpr_store(struct kvm_vcpu *vcpu, in kvmppc_emulate_fpr_store() 262 static int kvmppc_emulate_psq_load(struct kvm_vcpu *vcpu, in kvmppc_emulate_psq_load() 305 static int kvmppc_emulate_psq_store(struct kvm_vcpu *vcpu, in kvmppc_emulate_psq_store() 344 static bool kvmppc_inst_is_paired_single(struct kvm_vcpu *vcpu, u32 inst) in kvmppc_inst_is_paired_single() 490 static int kvmppc_ps_three_in(struct kvm_vcpu *vcpu, bool rc, in kvmppc_ps_three_in() 538 static int kvmppc_ps_two_in(struct kvm_vcpu *vcpu, bool rc, in kvmppc_ps_two_in() 590 static int kvmppc_ps_one_in(struct kvm_vcpu *vcpu, bool rc, in kvmppc_ps_one_in() [all …]
|
H A 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()
|
H A 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()
|
/openbmc/linux/arch/riscv/kvm/ |
H A 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()
|
H A 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()
|
/openbmc/linux/arch/arm64/kvm/hyp/vhe/ |
H A 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()
|
/openbmc/linux/include/linux/ |
H A D | kvm_host.h | 240 struct kvm_vcpu *vcpu; member 623 u32 vcpu; member 827 #define vcpu_unimpl(vcpu, fmt, ...) \ argument 831 #define vcpu_debug(vcpu, fmt, ...) \ argument 833 #define vcpu_debug_ratelimited(vcpu, fmt, ...) \ argument 836 #define vcpu_err(vcpu, fmt, ...) \ argument 936 struct kvm_vcpu *vcpu = NULL; in kvm_get_vcpu_by_id() local 1572 static inline bool __kvm_vcpu_wake_up(struct kvm_vcpu *vcpu) in __kvm_vcpu_wake_up() 2239 static inline bool vcpu_valid_wakeup(struct kvm_vcpu *vcpu) in vcpu_valid_wakeup() 2245 static inline bool vcpu_valid_wakeup(struct kvm_vcpu *vcpu) in vcpu_valid_wakeup() [all …]
|
/openbmc/linux/arch/arm64/kvm/ |
H A 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()
|
/openbmc/linux/tools/testing/selftests/kvm/x86_64/ |
H A D | set_sregs_test.c | 25 #define TEST_INVALID_CR_BIT(vcpu, cr, orig, bit) \ argument 79 struct kvm_vcpu *vcpu; in main() local
|
H A 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
|
H A 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 525 struct kvm_vcpu *vcpu; in guest_test_hcalls_access() local
|
H A 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
|
H A 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
|
H A 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
|
/openbmc/linux/arch/x86/kvm/vmx/ |
H A D | vmx.h | 250 struct kvm_vcpu vcpu; member 424 static inline void vmx_set_intercept_for_msr(struct kvm_vcpu *vcpu, u32 msr, in vmx_set_intercept_for_msr() 654 static __always_inline struct vcpu_vmx *to_vmx(struct kvm_vcpu *vcpu) in to_vmx() 659 static inline struct lbr_desc *vcpu_to_lbr_desc(struct kvm_vcpu *vcpu) in vcpu_to_lbr_desc() 669 static inline bool intel_pmu_lbr_is_enabled(struct kvm_vcpu *vcpu) in intel_pmu_lbr_is_enabled() 688 static __always_inline u32 vmx_get_intr_info(struct kvm_vcpu *vcpu) in vmx_get_intr_info() 716 static inline bool vmx_need_pf_intercept(struct kvm_vcpu *vcpu) in vmx_need_pf_intercept() 724 static inline bool is_unrestricted_guest(struct kvm_vcpu *vcpu) in is_unrestricted_guest() 732 static inline bool vmx_guest_state_valid(struct kvm_vcpu *vcpu) in vmx_guest_state_valid() 744 static inline bool vmx_can_use_ipiv(struct kvm_vcpu *vcpu) in vmx_can_use_ipiv() [all …]
|
/openbmc/linux/tools/testing/selftests/kvm/lib/aarch64/ |
H A 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()
|
/openbmc/linux/tools/testing/selftests/kvm/ |
H A 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
|
H A 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
|
/openbmc/linux/tools/testing/selftests/kvm/aarch64/ |
H A 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()
|