/openbmc/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 | 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);
|
/openbmc/qemu/target/s390x/kvm/ |
H A D | kvm.c | 485 cs->kvm_run->psw_addr = env->psw.addr; in kvm_arch_put_registers() 486 cs->kvm_run->psw_mask = env->psw.mask; in kvm_arch_put_registers() 488 memcpy(cs->kvm_run->s.regs.gprs, env->regs, sizeof(cs->kvm_run->s.regs.gprs)); in kvm_arch_put_registers() 526 memcpy(cs->kvm_run->s.regs.acrs, env->aregs, sizeof(cs->kvm_run->s.regs.acrs)); in kvm_arch_put_registers() 527 memcpy(cs->kvm_run->s.regs.crs, env->cregs, sizeof(cs->kvm_run->s.regs.crs)); in kvm_arch_put_registers() 536 cs->kvm_run->s.regs.pp = env->pp; in kvm_arch_put_registers() 648 env->pp = cs->kvm_run->s.regs.pp; in kvm_arch_get_registers() 1716 struct kvm_run *run = cs->kvm_run; in handle_intercept() 1777 struct kvm_run *run = cs->kvm_run; in handle_tsch() 1867 struct kvm_run *run = cs->kvm_run; in handle_stsi() [all …]
|
/openbmc/linux/tools/testing/selftests/kvm/x86_64/ |
H A 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()
|
H A 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()
|
H A 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()
|
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()
|
H A D | userspace_io_test.c | 57 struct kvm_run *run; in main()
|
H A D | vmx_invalid_nested_guest_state.c | 58 struct kvm_run *run; in main()
|
/openbmc/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()
|
H A 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 …]
|
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 | 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()
|
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()
|
/openbmc/linux/tools/testing/selftests/kvm/s390x/ |
H A 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()
|
/openbmc/qemu/include/sysemu/ |
H A D | kvm.h | 163 struct kvm_run; 355 void kvm_arch_pre_run(CPUState *cpu, struct kvm_run *run); 356 MemTxAttrs kvm_arch_post_run(CPUState *cpu, struct kvm_run *run); 358 int kvm_arch_handle_exit(CPUState *cpu, struct kvm_run *run);
|
/openbmc/linux/arch/s390/kvm/ |
H A D | kvm-s390.c | 4866 struct kvm_run *kvm_run = vcpu->run; in sync_regs_fmt2() local 4871 gscb = (struct gs_cb *) &kvm_run->s.regs.gscb; in sync_regs_fmt2() 4939 struct kvm_run *kvm_run = vcpu->run; in sync_regs() local 4941 if (kvm_run->kvm_dirty_regs & KVM_SYNC_PREFIX) in sync_regs() 4943 if (kvm_run->kvm_dirty_regs & KVM_SYNC_CRS) { in sync_regs() 4985 kvm_run->kvm_dirty_regs = 0; in sync_regs() 4990 struct kvm_run *kvm_run = vcpu->run; in store_regs_fmt2() local 5014 struct kvm_run *kvm_run = vcpu->run; in store_regs() local 5039 struct kvm_run *kvm_run = vcpu->run; in kvm_arch_vcpu_ioctl_run() local 5051 if (kvm_run->immediate_exit) in kvm_arch_vcpu_ioctl_run() [all …]
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/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()
|
/openbmc/linux/tools/testing/selftests/kvm/lib/aarch64/ |
H A D | ucall.c | 24 struct kvm_run *run = vcpu->run; in ucall_arch_get_ucall()
|
/openbmc/linux/tools/testing/selftests/kvm/ |
H A D | guest_print_test.c | 112 struct kvm_run *run = vcpu->run; in run_test() 155 struct kvm_run *run; in test_limits()
|
/openbmc/linux/tools/testing/selftests/kvm/lib/riscv/ |
H A D | ucall.c | 41 struct kvm_run *run = vcpu->run; in ucall_arch_get_ucall()
|