Home
last modified time | relevance | path

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

123

/linux/arch/riscv/include/asm/
H A Dkvm_vcpu_insn.h10 struct kvm_run;
36 int kvm_riscv_vcpu_csr_return(struct kvm_vcpu *vcpu, struct kvm_run *run);
37 int kvm_riscv_vcpu_virtual_insn(struct kvm_vcpu *vcpu, struct kvm_run *run,
40 int kvm_riscv_vcpu_mmio_load(struct kvm_vcpu *vcpu, struct kvm_run *run,
43 int kvm_riscv_vcpu_mmio_store(struct kvm_vcpu *vcpu, struct kvm_run *run,
46 int kvm_riscv_vcpu_mmio_return(struct kvm_vcpu *vcpu, struct kvm_run *run);
H A Dkvm_vcpu_sbi.h47 int (*handler)(struct kvm_vcpu *vcpu, struct kvm_run *run,
54 void kvm_riscv_vcpu_sbi_forward(struct kvm_vcpu *vcpu, struct kvm_run *run);
56 struct kvm_run *run,
58 int kvm_riscv_vcpu_sbi_return(struct kvm_vcpu *vcpu, struct kvm_run *run);
70 int kvm_riscv_vcpu_sbi_ecall(struct kvm_vcpu *vcpu, struct kvm_run *run);
/linux/tools/testing/selftests/kvm/x86_64/
H A Dsync_regs_test.c92 struct kvm_run *run = (struct kvm_run *)arg; in race_events_inj_pen()
115 struct kvm_run *run = (struct kvm_run *)arg; in race_events_exc()
137 struct kvm_run *run = (struct kvm_run *)arg; in race_sregs_cr4()
161 struct kvm_run *run; in race_sync_regs()
210 struct kvm_run *run = vcpu->run; in KVM_ONE_VCPU_TEST()
231 struct kvm_run *run = vcpu->run; in KVM_ONE_VCPU_TEST()
252 struct kvm_run *run = vcpu->run; in KVM_ONE_VCPU_TEST()
275 struct kvm_run *run = vcpu->run; in KVM_ONE_VCPU_TEST()
313 struct kvm_run *run = vcpu->run; in KVM_ONE_VCPU_TEST()
330 struct kvm_run *run = vcpu->run; in KVM_ONE_VCPU_TEST()
[all …]
H A Duserspace_msr_exit_test.c390 struct kvm_run *run = vcpu->run; in process_rdmsr()
422 struct kvm_run *run = vcpu->run; in process_wrmsr()
589 static void handle_rdmsr(struct kvm_run *run) in handle_rdmsr()
606 static void handle_wrmsr(struct kvm_run *run) in handle_wrmsr()
629 struct kvm_run *run = vcpu->run; in KVM_ONE_VCPU_TEST()
H A Dflds_emulation.h22 struct kvm_run *run = vcpu->run; in handle_flds_emulation_failure_exit()
H A Dvmx_close_while_nested_test.c63 volatile struct kvm_run *run = vcpu->run; in main()
H A Dvmx_invalid_nested_guest_state.c58 struct kvm_run *run; in main()
H A Duserspace_io_test.c57 struct kvm_run *run; in main()
/linux/arch/riscv/kvm/
H A Dvcpu_sbi_replace.c17 static int kvm_sbi_ext_time_handler(struct kvm_vcpu *vcpu, struct kvm_run *run, in kvm_sbi_ext_time_handler()
45 static int kvm_sbi_ext_ipi_handler(struct kvm_vcpu *vcpu, struct kvm_run *run, in kvm_sbi_ext_ipi_handler()
83 static int kvm_sbi_ext_rfence_handler(struct kvm_vcpu *vcpu, struct kvm_run *run, in kvm_sbi_ext_rfence_handler()
138 struct kvm_run *run, in kvm_sbi_ext_srst_handler()
180 struct kvm_run *run, in kvm_sbi_ext_dbcn_handler()
H A Dvcpu_insn.c153 int (*func)(struct kvm_vcpu *vcpu, struct kvm_run *run, ulong insn);
156 static int truly_illegal_insn(struct kvm_vcpu *vcpu, struct kvm_run *run, in truly_illegal_insn()
172 static int truly_virtual_insn(struct kvm_vcpu *vcpu, struct kvm_run *run, in truly_virtual_insn()
202 static int wfi_insn(struct kvm_vcpu *vcpu, struct kvm_run *run, ulong insn) in wfi_insn()
209 static int wrs_insn(struct kvm_vcpu *vcpu, struct kvm_run *run, ulong insn) in wrs_insn()
253 int kvm_riscv_vcpu_csr_return(struct kvm_vcpu *vcpu, struct kvm_run *run) in kvm_riscv_vcpu_csr_return()
273 static int csr_insn(struct kvm_vcpu *vcpu, struct kvm_run *run, ulong insn) in csr_insn()
398 static int system_opcode_insn(struct kvm_vcpu *vcpu, struct kvm_run *run, in system_opcode_insn()
438 int kvm_riscv_vcpu_virtual_insn(struct kvm_vcpu *vcpu, struct kvm_run *run, in kvm_riscv_vcpu_virtual_insn()
481 int kvm_riscv_vcpu_mmio_load(struct kvm_vcpu *vcpu, struct kvm_run *run, in kvm_riscv_vcpu_mmio_load()
[all …]
H A Dvcpu_sbi_base.c16 static int kvm_sbi_ext_base_handler(struct kvm_vcpu *vcpu, struct kvm_run *run, in kvm_sbi_ext_base_handler()
76 struct kvm_run *run, in kvm_sbi_ext_forward_handler()
H A Dvcpu_exit.c13 static int gstage_page_fault(struct kvm_vcpu *vcpu, struct kvm_run *run, in gstage_page_fault()
172 int kvm_riscv_vcpu_exit(struct kvm_vcpu *vcpu, struct kvm_run *run, in kvm_riscv_vcpu_exit()
/linux/tools/testing/selftests/kvm/include/s390x/
H A Ddebug_print.h43 static inline void print_psw(struct kvm_run *run, struct kvm_s390_sie_block *sie_block) in print_psw()
53 static inline void print_run(struct kvm_run *run, struct kvm_s390_sie_block *sie_block) in print_run()
60 static inline void print_regs(struct kvm_run *run) in print_regs()
/linux/tools/testing/selftests/kvm/s390x/
H A Dsync_regs_test.c76 struct kvm_run *run = vcpu->run; in test_read_invalid()
97 struct kvm_run *run = vcpu->run; in test_set_invalid()
118 struct kvm_run *run = vcpu->run; in test_req_and_verify_all_valid_regs()
144 struct kvm_run *run = vcpu->run; in test_set_and_verify_various_reg_values()
183 struct kvm_run *run = vcpu->run; in test_clear_kvm_dirty_regs_bits()
H A Ducontrol_test.c112 struct kvm_run *run; in FIXTURE_SETUP()
126 * create VM with single vcpu, map kvm_run and SIE control block for easy access in FIXTURE_SETUP()
147 ASSERT_GE(self->kvm_run_size, sizeof(struct kvm_run)) in FIXTURE_TEARDOWN()
149 self->run = (struct kvm_run *)mmap(NULL, self->kvm_run_size, in FIXTURE_TEARDOWN()
309 struct kvm_run *run = self->run; in TEST_F()
351 struct kvm_run *run = self->run;
376 struct kvm_run *run = self->run;
403 struct kvm_run *run = self->run;
468 struct kvm_run *run = self->run;
529 struct kvm_run *ru
[all...]
/linux/arch/loongarch/kvm/
H A Dexit.c157 int kvm_emu_iocsr(larch_inst inst, struct kvm_run *run, struct kvm_vcpu *vcpu) in kvm_emu_iocsr()
237 int kvm_complete_iocsr_read(struct kvm_vcpu *vcpu, struct kvm_run *run) in kvm_complete_iocsr_read()
281 struct kvm_run *run = vcpu->run; in kvm_trap_handle_gspr()
371 struct kvm_run *run = vcpu->run; in kvm_emu_mmio_read()
499 int kvm_complete_mmio_read(struct kvm_vcpu *vcpu, struct kvm_run *run) in kvm_complete_mmio_read()
546 struct kvm_run *run = vcpu->run; in kvm_emu_mmio_write()
669 struct kvm_run *run = vcpu->run; in kvm_handle_rdwr_fault()
721 struct kvm_run *run = vcpu->run; in kvm_handle_fpu_disabled()
/linux/arch/loongarch/include/asm/
H A Dkvm_vcpu.h44 int kvm_complete_mmio_read(struct kvm_vcpu *vcpu, struct kvm_run *run);
45 int kvm_complete_iocsr_read(struct kvm_vcpu *vcpu, struct kvm_run *run);
/linux/tools/testing/selftests/kvm/lib/riscv/
H A Ducall.c16 struct kvm_run *run = vcpu->run; in ucall_arch_get_ucall()
/linux/tools/testing/selftests/kvm/lib/s390x/
H A Ducall.c11 struct kvm_run *run = vcpu->run; in ucall_arch_get_ucall()
H A Ddiag318_test_handler.c30 struct kvm_run *run; in diag318_handler()
/linux/tools/testing/selftests/kvm/lib/x86_64/
H A Ducall.c47 struct kvm_run *run = vcpu->run; in ucall_arch_get_ucall()
/linux/tools/testing/selftests/kvm/
H A Dguest_print_test.c128 struct kvm_run *run = vcpu->run; in run_test()
171 struct kvm_run *run; in test_limits()
/linux/tools/testing/selftests/kvm/lib/aarch64/
H A Ducall.c24 struct kvm_run *run = vcpu->run; in ucall_arch_get_ucall()
/linux/include/linux/
H A Dkvm_types.h14 struct kvm_run;
/linux/arch/arm64/kvm/
H A Dhandle_exit.c183 struct kvm_run *run = vcpu->run; in kvm_handle_guest_debug()
363 struct kvm_run *run = vcpu->run; in handle_exit()

123