/linux/arch/riscv/include/asm/ |
H A 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);
|
H A D | kvm_vcpu_sbi.h | 47 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 D | sync_regs_test.c | 92 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 D | userspace_msr_exit_test.c | 390 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 D | flds_emulation.h | 22 struct kvm_run *run = vcpu->run; in handle_flds_emulation_failure_exit()
|
H A D | vmx_close_while_nested_test.c | 63 volatile struct kvm_run *run = vcpu->run; in main()
|
/linux/arch/riscv/kvm/ |
H A 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() 180 struct kvm_run *run, in kvm_sbi_ext_dbcn_handler()
|
H A D | vcpu_insn.c | 153 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 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()
|
H A D | vcpu_sbi.c | 115 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 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/tools/testing/selftests/kvm/include/s390x/ |
H A D | debug_print.h | 43 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 D | sync_regs_test.c | 76 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 D | ucontrol_test.c | 64 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 D | kvm-s390.c | 4869 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 D | exit.c | 157 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 D | kvm_host.h | 75 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 D | kvm_vcpu.h | 44 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 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()
|
/linux/tools/testing/selftests/kvm/lib/riscv/ |
H A D | ucall.c | 16 struct kvm_run *run = vcpu->run; in ucall_arch_get_ucall()
|
/linux/tools/testing/selftests/kvm/lib/s390x/ |
H A D | ucall.c | 11 struct kvm_run *run = vcpu->run; in ucall_arch_get_ucall()
|
H A D | diag318_test_handler.c | 30 struct kvm_run *run; in diag318_handler()
|
/linux/tools/testing/selftests/kvm/lib/x86_64/ |
H A D | ucall.c | 47 struct kvm_run *run = vcpu->run; in ucall_arch_get_ucall()
|
/linux/tools/testing/selftests/kvm/lib/aarch64/ |
H A D | ucall.c | 24 struct kvm_run *run = vcpu->run; in ucall_arch_get_ucall()
|
/linux/tools/testing/selftests/kvm/ |
H A D | guest_print_test.c | 128 struct kvm_run *run = vcpu->run; in run_test() 171 struct kvm_run *run; in test_limits()
|