Home
last modified time | relevance | path

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

123

/linux-6.6.21/arch/riscv/include/asm/
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);
Dkvm_vcpu_sbi.h43 int (*handler)(struct kvm_vcpu *vcpu, struct kvm_run *run,
50 void kvm_riscv_vcpu_sbi_forward(struct kvm_vcpu *vcpu, struct kvm_run *run);
52 struct kvm_run *run,
54 int kvm_riscv_vcpu_sbi_return(struct kvm_vcpu *vcpu, struct kvm_run *run);
61 int kvm_riscv_vcpu_sbi_ecall(struct kvm_vcpu *vcpu, struct kvm_run *run);
/linux-6.6.21/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()
Dsync_regs_test.c91 struct kvm_run *run = (struct kvm_run *)arg; in race_events_inj_pen()
114 struct kvm_run *run = (struct kvm_run *)arg; in race_events_exc()
136 struct kvm_run *run = (struct kvm_run *)arg; in race_sregs_cr4()
161 struct kvm_run *run; in race_sync_regs()
215 struct kvm_run *run; in main()
Duserspace_msr_exit_test.c409 struct kvm_run *run = vcpu->run; in process_rdmsr()
441 struct kvm_run *run = vcpu->run; in process_wrmsr()
612 static void handle_rdmsr(struct kvm_run *run) in handle_rdmsr()
629 static void handle_wrmsr(struct kvm_run *run) in handle_wrmsr()
653 struct kvm_run *run; in test_msr_filter_deny()
Dflds_emulation.h22 struct kvm_run *run = vcpu->run; in handle_flds_emulation_failure_exit()
Dvmx_close_while_nested_test.c63 volatile struct kvm_run *run = vcpu->run; in main()
Dvmx_invalid_nested_guest_state.c58 struct kvm_run *run; in main()
Duserspace_io_test.c57 struct kvm_run *run; in main()
/linux-6.6.21/arch/riscv/kvm/
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()
Dvcpu_insn.c148 int (*func)(struct kvm_vcpu *vcpu, struct kvm_run *run, ulong insn);
151 static int truly_illegal_insn(struct kvm_vcpu *vcpu, struct kvm_run *run, in truly_illegal_insn()
167 static int truly_virtual_insn(struct kvm_vcpu *vcpu, struct kvm_run *run, in truly_virtual_insn()
197 static int wfi_insn(struct kvm_vcpu *vcpu, struct kvm_run *run, ulong insn) in wfi_insn()
230 int kvm_riscv_vcpu_csr_return(struct kvm_vcpu *vcpu, struct kvm_run *run) in kvm_riscv_vcpu_csr_return()
250 static int csr_insn(struct kvm_vcpu *vcpu, struct kvm_run *run, ulong insn) in csr_insn()
370 static int system_opcode_insn(struct kvm_vcpu *vcpu, struct kvm_run *run, in system_opcode_insn()
410 int kvm_riscv_vcpu_virtual_insn(struct kvm_vcpu *vcpu, struct kvm_run *run, in kvm_riscv_vcpu_virtual_insn()
453 int kvm_riscv_vcpu_mmio_load(struct kvm_vcpu *vcpu, struct kvm_run *run, in kvm_riscv_vcpu_mmio_load()
575 int kvm_riscv_vcpu_mmio_store(struct kvm_vcpu *vcpu, struct kvm_run *run, in kvm_riscv_vcpu_mmio_store()
[all …]
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()
Dvcpu_sbi.c79 void kvm_riscv_vcpu_sbi_forward(struct kvm_vcpu *vcpu, struct kvm_run *run) in kvm_riscv_vcpu_sbi_forward()
99 struct kvm_run *run, in kvm_riscv_vcpu_sbi_system_reset()
116 int kvm_riscv_vcpu_sbi_return(struct kvm_vcpu *vcpu, struct kvm_run *run) in kvm_riscv_vcpu_sbi_return()
358 int kvm_riscv_vcpu_sbi_ecall(struct kvm_vcpu *vcpu, struct kvm_run *run) in kvm_riscv_vcpu_sbi_ecall()
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-6.6.21/tools/testing/selftests/kvm/s390x/
Dsync_regs_test.c78 struct kvm_run *run = vcpu->run; in test_read_invalid()
99 struct kvm_run *run = vcpu->run; in test_set_invalid()
120 struct kvm_run *run = vcpu->run; in test_req_and_verify_all_valid_regs()
146 struct kvm_run *run = vcpu->run; in test_set_and_verify_various_reg_values()
185 struct kvm_run *run = vcpu->run; in test_clear_kvm_dirty_regs_bits()
/linux-6.6.21/arch/s390/kvm/
Dkvm-s390.c4860 struct kvm_run *kvm_run = vcpu->run; in sync_regs_fmt2() local
4864 riccb = (struct runtime_instr_cb *) &kvm_run->s.regs.riccb; in sync_regs_fmt2()
4865 gscb = (struct gs_cb *) &kvm_run->s.regs.gscb; in sync_regs_fmt2()
4866 vcpu->arch.sie_block->gpsw.mask = kvm_run->psw_mask; in sync_regs_fmt2()
4867 vcpu->arch.sie_block->gpsw.addr = kvm_run->psw_addr; in sync_regs_fmt2()
4868 if (kvm_run->kvm_dirty_regs & KVM_SYNC_ARCH0) { in sync_regs_fmt2()
4869 vcpu->arch.sie_block->todpr = kvm_run->s.regs.todpr; in sync_regs_fmt2()
4870 vcpu->arch.sie_block->pp = kvm_run->s.regs.pp; in sync_regs_fmt2()
4871 vcpu->arch.sie_block->gbea = kvm_run->s.regs.gbea; in sync_regs_fmt2()
4873 if (kvm_run->kvm_dirty_regs & KVM_SYNC_PFAULT) { in sync_regs_fmt2()
[all …]
/linux-6.6.21/arch/arm64/kvm/
Dmmio.c94 struct kvm_run *run = vcpu->run; in kvm_handle_mmio_return()
125 struct kvm_run *run = vcpu->run; in io_mem_abort()
Dhandle_exit.c168 struct kvm_run *run = vcpu->run; in kvm_handle_guest_debug()
324 struct kvm_run *run = vcpu->run; in handle_exit()
/linux-6.6.21/tools/testing/selftests/kvm/lib/s390x/
Ducall.c11 struct kvm_run *run = vcpu->run; in ucall_arch_get_ucall()
Ddiag318_test_handler.c30 struct kvm_run *run; in diag318_handler()
/linux-6.6.21/tools/testing/selftests/kvm/lib/x86_64/
Ducall.c47 struct kvm_run *run = vcpu->run; in ucall_arch_get_ucall()
/linux-6.6.21/tools/testing/selftests/kvm/lib/aarch64/
Ducall.c24 struct kvm_run *run = vcpu->run; in ucall_arch_get_ucall()
/linux-6.6.21/tools/testing/selftests/kvm/
Dguest_print_test.c112 struct kvm_run *run = vcpu->run; in run_test()
155 struct kvm_run *run; in test_limits()
Dset_memory_region_test.c56 struct kvm_run *run = vcpu->run; in vcpu_worker()
263 struct kvm_run *run; in test_delete_memory_region()
/linux-6.6.21/tools/testing/selftests/kvm/lib/riscv/
Ducall.c41 struct kvm_run *run = vcpu->run; in ucall_arch_get_ucall()

123