Home
last modified time | relevance | path

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

1234

/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()
/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_sbi.c115 void kvm_riscv_vcpu_sbi_forward(struct kvm_vcpu *vcpu, struct kvm_run *run) in kvm_riscv_vcpu_sbi_forward()
135 struct kvm_run *run, in kvm_riscv_vcpu_sbi_system_reset()
155 int kvm_riscv_vcpu_sbi_return(struct kvm_vcpu *vcpu, struct kvm_run *run) in kvm_riscv_vcpu_sbi_return()
419 int kvm_riscv_vcpu_sbi_ecall(struct kvm_vcpu *vcpu, struct kvm_run *run) in kvm_riscv_vcpu_sbi_ecall()
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.c64 struct kvm_run *run; in FIXTURE()
98 ASSERT_GE(self->kvm_run_size, sizeof(struct kvm_run)) in FIXTURE_SETUP()
100 self->run = (struct kvm_run *)mmap(NULL, self->kvm_run_size, in FIXTURE_SETUP()
231 struct kvm_run *run = self->run; in uc_handle_sieic()
255 struct kvm_run *run = self->run; in uc_handle_exit()
292 struct kvm_run *run = self->run; in TEST_F()
/linux/arch/s390/kvm/
H A Dkvm-s390.c4869 struct kvm_run *kvm_run = vcpu->run; in sync_regs_fmt2() local
4873 riccb = (struct runtime_instr_cb *) &kvm_run->s.regs.riccb; in sync_regs_fmt2()
4874 gscb = (struct gs_cb *) &kvm_run->s.regs.gscb; in sync_regs_fmt2()
4875 vcpu->arch.sie_block->gpsw.mask = kvm_run->psw_mask; in sync_regs_fmt2()
4876 vcpu->arch.sie_block->gpsw.addr = kvm_run->psw_addr; in sync_regs_fmt2()
4877 if (kvm_run->kvm_dirty_regs & KVM_SYNC_ARCH0) { in sync_regs_fmt2()
4878 vcpu->arch.sie_block->todpr = kvm_run->s.regs.todpr; in sync_regs_fmt2()
4879 vcpu->arch.sie_block->pp = kvm_run->s.regs.pp; in sync_regs_fmt2()
4880 vcpu->arch.sie_block->gbea = kvm_run->s.regs.gbea; in sync_regs_fmt2()
4882 if (kvm_run->kvm_dirty_regs & KVM_SYNC_PFAULT) { in sync_regs_fmt2()
[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()
220 int kvm_complete_iocsr_read(struct kvm_vcpu *vcpu, struct kvm_run *run) in kvm_complete_iocsr_read()
264 struct kvm_run *run = vcpu->run; in kvm_trap_handle_gspr()
354 struct kvm_run *run = vcpu->run; in kvm_emu_mmio_read()
466 int kvm_complete_mmio_read(struct kvm_vcpu *vcpu, struct kvm_run *run) in kvm_complete_mmio_read()
513 struct kvm_run *run = vcpu->run; in kvm_emu_mmio_write()
624 struct kvm_run *run = vcpu->run; in kvm_handle_rdwr_fault()
676 struct kvm_run *run = vcpu->run; in kvm_handle_fpu_disabled()
/linux/arch/loongarch/include/asm/
H A Dkvm_host.h75 int (*enter_guest)(struct kvm_run *run, struct kvm_vcpu *vcpu);
162 int (*handle_exit)(struct kvm_run *run, struct kvm_vcpu *vcpu);
317 int kvm_enter_guest(struct kvm_run *run, struct kvm_vcpu *vcpu);
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/arch/arm64/kvm/
H A Dmmio.c94 struct kvm_run *run = vcpu->run; in kvm_handle_mmio_return()
125 struct kvm_run *run = vcpu->run; in io_mem_abort()
/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/lib/aarch64/
H A Ducall.c24 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()

1234