/linux-6.6.21/arch/riscv/include/asm/ |
D | kvm_vcpu_insn.h | 10 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);
|
D | kvm_vcpu_sbi.h | 43 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/ |
D | mmio_warning_test.c | 36 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()
|
D | sync_regs_test.c | 91 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()
|
D | userspace_msr_exit_test.c | 409 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()
|
D | flds_emulation.h | 22 struct kvm_run *run = vcpu->run; in handle_flds_emulation_failure_exit()
|
D | vmx_close_while_nested_test.c | 63 volatile struct kvm_run *run = vcpu->run; in main()
|
D | vmx_invalid_nested_guest_state.c | 58 struct kvm_run *run; in main()
|
D | userspace_io_test.c | 57 struct kvm_run *run; in main()
|
/linux-6.6.21/arch/riscv/kvm/ |
D | vcpu_sbi_replace.c | 17 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()
|
D | vcpu_insn.c | 148 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 …]
|
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() 76 struct kvm_run *run, in kvm_sbi_ext_forward_handler()
|
D | vcpu_sbi.c | 79 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()
|
D | vcpu_exit.c | 13 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/ |
D | sync_regs_test.c | 78 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/ |
D | kvm-s390.c | 4860 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/ |
D | mmio.c | 94 struct kvm_run *run = vcpu->run; in kvm_handle_mmio_return() 125 struct kvm_run *run = vcpu->run; in io_mem_abort()
|
D | handle_exit.c | 168 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/ |
D | ucall.c | 11 struct kvm_run *run = vcpu->run; in ucall_arch_get_ucall()
|
D | diag318_test_handler.c | 30 struct kvm_run *run; in diag318_handler()
|
/linux-6.6.21/tools/testing/selftests/kvm/lib/x86_64/ |
D | ucall.c | 47 struct kvm_run *run = vcpu->run; in ucall_arch_get_ucall()
|
/linux-6.6.21/tools/testing/selftests/kvm/lib/aarch64/ |
D | ucall.c | 24 struct kvm_run *run = vcpu->run; in ucall_arch_get_ucall()
|
/linux-6.6.21/tools/testing/selftests/kvm/ |
D | guest_print_test.c | 112 struct kvm_run *run = vcpu->run; in run_test() 155 struct kvm_run *run; in test_limits()
|
D | set_memory_region_test.c | 56 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/ |
D | ucall.c | 41 struct kvm_run *run = vcpu->run; in ucall_arch_get_ucall()
|