Home
last modified time | relevance | path

Searched refs:kvm_run (Results 1 – 25 of 70) sorted by relevance

123

/Linux-v5.4/arch/arm/include/asm/
Dkvm_coproc.h19 int kvm_handle_cp10_id(struct kvm_vcpu *vcpu, struct kvm_run *run);
20 int kvm_handle_cp_0_13_access(struct kvm_vcpu *vcpu, struct kvm_run *run);
21 int kvm_handle_cp14_load_store(struct kvm_vcpu *vcpu, struct kvm_run *run);
22 int kvm_handle_cp14_32(struct kvm_vcpu *vcpu, struct kvm_run *run);
23 int kvm_handle_cp14_64(struct kvm_vcpu *vcpu, struct kvm_run *run);
24 int kvm_handle_cp15_32(struct kvm_vcpu *vcpu, struct kvm_run *run);
25 int kvm_handle_cp15_64(struct kvm_vcpu *vcpu, struct kvm_run *run);
Dkvm_mmio.h22 int kvm_handle_mmio_return(struct kvm_vcpu *vcpu, struct kvm_run *run);
23 int io_mem_abort(struct kvm_vcpu *vcpu, struct kvm_run *run,
Dkvm_host.h287 int handle_exit(struct kvm_vcpu *vcpu, struct kvm_run *run,
290 static inline void handle_exit_early(struct kvm_vcpu *vcpu, struct kvm_run *run, in handle_exit_early()
/Linux-v5.4/arch/arm64/kvm/
Dhandle_exit.c28 typedef int (*exit_handle_fn)(struct kvm_vcpu *, struct kvm_run *);
36 static int handle_hvc(struct kvm_vcpu *vcpu, struct kvm_run *run) in handle_hvc()
53 static int handle_smc(struct kvm_vcpu *vcpu, struct kvm_run *run) in handle_smc()
72 static int handle_no_fpsimd(struct kvm_vcpu *vcpu, struct kvm_run *run) in handle_no_fpsimd()
90 static int kvm_handle_wfx(struct kvm_vcpu *vcpu, struct kvm_run *run) in kvm_handle_wfx()
120 static int kvm_handle_guest_debug(struct kvm_vcpu *vcpu, struct kvm_run *run) in kvm_handle_guest_debug()
147 static int kvm_handle_unknown_ec(struct kvm_vcpu *vcpu, struct kvm_run *run) in kvm_handle_unknown_ec()
158 static int handle_sve(struct kvm_vcpu *vcpu, struct kvm_run *run) in handle_sve()
196 static int kvm_handle_ptrauth(struct kvm_vcpu *vcpu, struct kvm_run *run) in kvm_handle_ptrauth()
241 static int handle_trap_exceptions(struct kvm_vcpu *vcpu, struct kvm_run *run) in handle_trap_exceptions()
[all …]
/Linux-v5.4/arch/arm64/include/asm/
Dkvm_coproc.h30 int kvm_handle_cp14_load_store(struct kvm_vcpu *vcpu, struct kvm_run *run);
31 int kvm_handle_cp14_32(struct kvm_vcpu *vcpu, struct kvm_run *run);
32 int kvm_handle_cp14_64(struct kvm_vcpu *vcpu, struct kvm_run *run);
33 int kvm_handle_cp15_32(struct kvm_vcpu *vcpu, struct kvm_run *run);
34 int kvm_handle_cp15_64(struct kvm_vcpu *vcpu, struct kvm_run *run);
35 int kvm_handle_sys_reg(struct kvm_vcpu *vcpu, struct kvm_run *run);
Dkvm_mmio.h25 int kvm_handle_mmio_return(struct kvm_vcpu *vcpu, struct kvm_run *run);
26 int io_mem_abort(struct kvm_vcpu *vcpu, struct kvm_run *run,
/Linux-v5.4/arch/arm/kvm/
Dhandle_exit.c17 typedef int (*exit_handle_fn)(struct kvm_vcpu *, struct kvm_run *);
19 static int handle_hvc(struct kvm_vcpu *vcpu, struct kvm_run *run) in handle_hvc()
36 static int handle_smc(struct kvm_vcpu *vcpu, struct kvm_run *run) in handle_smc()
62 static int kvm_handle_wfx(struct kvm_vcpu *vcpu, struct kvm_run *run) in kvm_handle_wfx()
80 static int kvm_handle_unknown_ec(struct kvm_vcpu *vcpu, struct kvm_run *run) in kvm_handle_unknown_ec()
118 int handle_exit(struct kvm_vcpu *vcpu, struct kvm_run *run, in handle_exit()
/Linux-v5.4/arch/mips/include/asm/
Dkvm_host.h313 int (*vcpu_run)(struct kvm_run *run, struct kvm_vcpu *vcpu);
815 int (*vcpu_run)(struct kvm_run *run, struct kvm_vcpu *vcpu);
816 void (*vcpu_reenter)(struct kvm_run *run, struct kvm_vcpu *vcpu);
824 extern int kvm_mips_handle_exit(struct kvm_run *run, struct kvm_vcpu *vcpu);
871 struct kvm_run *run,
978 struct kvm_run *run,
985 struct kvm_run *run,
990 struct kvm_run *run,
995 struct kvm_run *run,
1000 struct kvm_run *run,
[all …]
/Linux-v5.4/tools/testing/selftests/kvm/x86_64/
Dmmio_warning_test.c36 struct kvm_run *run;
44 struct kvm_run *run = tc->run; in thr()
57 struct kvm_run *run; in test()
66 run = (struct kvm_run *)mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_SHARED, in test()
Dplatform_info_test.c50 struct kvm_run *run = vcpu_state(vm, VCPU_ID); in test_msr_platform_info_enabled()
71 struct kvm_run *run = vcpu_state(vm, VCPU_ID); in test_msr_platform_info_disabled()
Dvmx_close_while_nested_test.c67 volatile struct kvm_run *run = vcpu_state(vm, VCPU_ID); in main()
/Linux-v5.4/arch/mips/kvm/
Dtrap_emul.c70 struct kvm_run *run = vcpu->run; in kvm_trap_emul_handle_cop_unusable()
119 static int kvm_mips_bad_load(u32 cause, u32 *opc, struct kvm_run *run, in kvm_mips_bad_load()
152 static int kvm_mips_bad_store(u32 cause, u32 *opc, struct kvm_run *run, in kvm_mips_bad_store()
179 static int kvm_mips_bad_access(u32 cause, u32 *opc, struct kvm_run *run, in kvm_mips_bad_access()
191 struct kvm_run *run = vcpu->run; in kvm_trap_emul_handle_tlb_mod()
251 struct kvm_run *run = vcpu->run; in kvm_trap_emul_handle_tlb_miss()
323 struct kvm_run *run = vcpu->run; in kvm_trap_emul_handle_addr_err_st()
343 struct kvm_run *run = vcpu->run; in kvm_trap_emul_handle_addr_err_ld()
362 struct kvm_run *run = vcpu->run; in kvm_trap_emul_handle_syscall()
380 struct kvm_run *run = vcpu->run; in kvm_trap_emul_handle_res_inst()
[all …]
Demulate.c1265 struct kvm_run *run, in kvm_mips_emulate_CP0()
1600 struct kvm_run *run, in kvm_mips_emulate_store()
1681 u32 cause, struct kvm_run *run, in kvm_mips_emulate_load()
1755 struct kvm_run *run, in kvm_mips_guest_cache_op()
1799 struct kvm_run *run, in kvm_mips_emulate_cache()
1932 struct kvm_run *run, in kvm_mips_emulate_inst()
2003 struct kvm_run *run, in kvm_mips_emulate_syscall()
2038 struct kvm_run *run, in kvm_mips_emulate_tlbmiss_ld()
2082 struct kvm_run *run, in kvm_mips_emulate_tlbinv_ld()
2124 struct kvm_run *run, in kvm_mips_emulate_tlbmiss_st()
[all …]
/Linux-v5.4/arch/powerpc/kvm/
Dbooke.h73 int kvmppc_booke_emulate_op(struct kvm_run *run, struct kvm_vcpu *vcpu,
98 extern int kvmppc_core_emulate_op_e500(struct kvm_run *run,
106 extern int kvmppc_core_emulate_op_e500(struct kvm_run *run,
Dbook3s.h20 extern int kvmppc_core_emulate_op_pr(struct kvm_run *run, struct kvm_vcpu *vcpu,
Dpowerpc.c281 int kvmppc_emulate_mmio(struct kvm_run *run, struct kvm_vcpu *vcpu) in kvmppc_emulate_mmio()
1111 struct kvm_run *run) in kvmppc_complete_mmio_load()
1222 static int __kvmppc_handle_load(struct kvm_run *run, struct kvm_vcpu *vcpu, in __kvmppc_handle_load()
1267 int kvmppc_handle_load(struct kvm_run *run, struct kvm_vcpu *vcpu, in kvmppc_handle_load()
1276 int kvmppc_handle_loads(struct kvm_run *run, struct kvm_vcpu *vcpu, in kvmppc_handle_loads()
1284 int kvmppc_handle_vsx_load(struct kvm_run *run, struct kvm_vcpu *vcpu, in kvmppc_handle_vsx_load()
1310 int kvmppc_handle_store(struct kvm_run *run, struct kvm_vcpu *vcpu, in kvmppc_handle_store()
1426 int kvmppc_handle_vsx_store(struct kvm_run *run, struct kvm_vcpu *vcpu, in kvmppc_handle_vsx_store()
1458 struct kvm_run *run) in kvmppc_emulate_mmio_vsx_loadstore()
1493 int kvmppc_handle_vmx_load(struct kvm_run *run, struct kvm_vcpu *vcpu, in kvmppc_handle_vmx_load()
[all …]
Dbook3s_hv.c1133 static int kvmppc_emulate_debug_inst(struct kvm_run *run, in kvmppc_emulate_debug_inst()
1250 static int kvmppc_handle_exit_hv(struct kvm_run *run, struct kvm_vcpu *vcpu, in kvmppc_handle_exit_hv()
1439 static int kvmppc_handle_nested_exit(struct kvm_run *run, struct kvm_vcpu *vcpu) in kvmppc_handle_nested_exit()
2938 ret = kvmppc_handle_exit_hv(vcpu->arch.kvm_run, vcpu, in post_guest_process()
3903 static int kvmppc_run_vcpu(struct kvm_run *kvm_run, struct kvm_vcpu *vcpu) in kvmppc_run_vcpu() argument
3911 kvm_run->exit_reason = 0; in kvmppc_run_vcpu()
3923 vcpu->arch.kvm_run = kvm_run; in kvmppc_run_vcpu()
3956 kvm_run->exit_reason = KVM_EXIT_FAIL_ENTRY; in kvmppc_run_vcpu()
3957 kvm_run->fail_entry. in kvmppc_run_vcpu()
3976 v->arch.kvm_run->exit_reason = KVM_EXIT_INTR; in kvmppc_run_vcpu()
[all …]
/Linux-v5.4/arch/powerpc/include/asm/
Dkvm_ppc.h61 extern int kvmppc_vcpu_run(struct kvm_run *kvm_run, struct kvm_vcpu *vcpu);
62 extern int __kvmppc_vcpu_run(struct kvm_run *kvm_run, struct kvm_vcpu *vcpu);
66 extern int kvmppc_handle_load(struct kvm_run *run, struct kvm_vcpu *vcpu,
69 extern int kvmppc_handle_loads(struct kvm_run *run, struct kvm_vcpu *vcpu,
72 extern int kvmppc_handle_vsx_load(struct kvm_run *run, struct kvm_vcpu *vcpu,
75 extern int kvmppc_handle_vmx_load(struct kvm_run *run, struct kvm_vcpu *vcpu,
77 extern int kvmppc_handle_vmx_store(struct kvm_run *run, struct kvm_vcpu *vcpu,
79 extern int kvmppc_handle_store(struct kvm_run *run, struct kvm_vcpu *vcpu,
82 extern int kvmppc_handle_vsx_store(struct kvm_run *run, struct kvm_vcpu *vcpu,
93 extern int kvmppc_emulate_instruction(struct kvm_run *run,
[all …]
Dkvm_book3s.h158 extern int kvmppc_book3s_hv_page_fault(struct kvm_run *run,
163 extern int kvmppc_hv_emulate_mmio(struct kvm_run *run, struct kvm_vcpu *vcpu,
177 extern int kvmppc_book3s_radix_page_fault(struct kvm_run *run,
237 extern int kvmppc_emulate_paired_single(struct kvm_run *run, struct kvm_vcpu *vcpu);
303 int kvmhv_run_single_vcpu(struct kvm_run *kvm_run, struct kvm_vcpu *vcpu,
308 long int kvmhv_nested_page_fault(struct kvm_run *run, struct kvm_vcpu *vcpu);
/Linux-v5.4/arch/s390/kvm/
Dkvm-s390.c3866 static void sync_regs(struct kvm_vcpu *vcpu, struct kvm_run *kvm_run) in sync_regs() argument
3871 riccb = (struct runtime_instr_cb *) &kvm_run->s.regs.riccb; in sync_regs()
3872 gscb = (struct gs_cb *) &kvm_run->s.regs.gscb; in sync_regs()
3873 vcpu->arch.sie_block->gpsw.mask = kvm_run->psw_mask; in sync_regs()
3874 vcpu->arch.sie_block->gpsw.addr = kvm_run->psw_addr; in sync_regs()
3875 if (kvm_run->kvm_dirty_regs & KVM_SYNC_PREFIX) in sync_regs()
3876 kvm_s390_set_prefix(vcpu, kvm_run->s.regs.prefix); in sync_regs()
3877 if (kvm_run->kvm_dirty_regs & KVM_SYNC_CRS) { in sync_regs()
3878 memcpy(&vcpu->arch.sie_block->gcr, &kvm_run->s.regs.crs, 128); in sync_regs()
3882 if (kvm_run->kvm_dirty_regs & KVM_SYNC_ARCH0) { in sync_regs()
[all …]
/Linux-v5.4/virt/kvm/arm/
Dmmio.c83 int kvm_handle_mmio_return(struct kvm_vcpu *vcpu, struct kvm_run *run) in kvm_handle_mmio_return()
150 int io_mem_abort(struct kvm_vcpu *vcpu, struct kvm_run *run, in io_mem_abort()
/Linux-v5.4/include/linux/
Dkvm_types.h13 struct kvm_run;
/Linux-v5.4/tools/testing/selftests/kvm/lib/x86_64/
Ducall.c40 struct kvm_run *run = vcpu_state(vm, vcpu_id); in get_ucall()
/Linux-v5.4/tools/testing/selftests/kvm/lib/s390x/
Ducall.c38 struct kvm_run *run = vcpu_state(vm, vcpu_id); in get_ucall()
/Linux-v5.4/tools/testing/selftests/kvm/lib/
Dkvm_util_internal.h41 struct kvm_run *state;

123