Home
last modified time | relevance | path

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

1234

/linux-6.1.9/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.h25 int (*handler)(struct kvm_vcpu *vcpu, struct kvm_run *run,
30 void kvm_riscv_vcpu_sbi_forward(struct kvm_vcpu *vcpu, struct kvm_run *run);
32 struct kvm_run *run,
Dkvm_host.h317 int kvm_riscv_vcpu_exit(struct kvm_vcpu *vcpu, struct kvm_run *run,
330 int kvm_riscv_vcpu_sbi_return(struct kvm_vcpu *vcpu, struct kvm_run *run);
331 int kvm_riscv_vcpu_sbi_ecall(struct kvm_vcpu *vcpu, struct kvm_run *run);
/linux-6.1.9/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()
Demulator_error_test.c52 struct kvm_run *run = vcpu->run; in process_exit_on_emulation_error()
110 struct kvm_run *run = vcpu->run; in process_ucall_done()
127 struct kvm_run *run = vcpu->run; in process_ucall()
Dplatform_info_test.c39 struct kvm_run *run = vcpu->run; in test_msr_platform_info_enabled()
59 struct kvm_run *run = vcpu->run; in test_msr_platform_info_disabled()
Duserspace_msr_exit_test.c409 struct kvm_run *run = vcpu->run; in process_rdmsr()
444 struct kvm_run *run = vcpu->run; in process_wrmsr()
475 struct kvm_run *run = vcpu->run; in process_ucall_done()
492 struct kvm_run *run = vcpu->run; in process_ucall()
626 static void handle_rdmsr(struct kvm_run *run) in handle_rdmsr()
643 static void handle_wrmsr(struct kvm_run *run) in handle_wrmsr()
667 struct kvm_run *run; in test_msr_filter_deny()
Dvmx_close_while_nested_test.c63 volatile struct kvm_run *run = vcpu->run; in main()
Dcr4_cpuid_sync_test.c53 struct kvm_run *run; in main()
Dsvm_vmcall_test.c50 volatile struct kvm_run *run = vcpu->run; in main()
Dsvm_nested_shutdown_test.c45 struct kvm_run *run; in main()
Dvmx_invalid_nested_guest_state.c58 struct kvm_run *run; in main()
/linux-6.1.9/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()
44 static int kvm_sbi_ext_ipi_handler(struct kvm_vcpu *vcpu, struct kvm_run *run, in kvm_sbi_ext_ipi_handler()
79 static int kvm_sbi_ext_rfence_handler(struct kvm_vcpu *vcpu, struct kvm_run *run, in kvm_sbi_ext_rfence_handler()
133 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()
227 int kvm_riscv_vcpu_csr_return(struct kvm_vcpu *vcpu, struct kvm_run *run) in kvm_riscv_vcpu_csr_return()
247 static int csr_insn(struct kvm_vcpu *vcpu, struct kvm_run *run, ulong insn) in csr_insn()
367 static int system_opcode_insn(struct kvm_vcpu *vcpu, struct kvm_run *run, in system_opcode_insn()
407 int kvm_riscv_vcpu_virtual_insn(struct kvm_vcpu *vcpu, struct kvm_run *run, in kvm_riscv_vcpu_virtual_insn()
450 int kvm_riscv_vcpu_mmio_load(struct kvm_vcpu *vcpu, struct kvm_run *run, in kvm_riscv_vcpu_mmio_load()
572 int kvm_riscv_vcpu_mmio_store(struct kvm_vcpu *vcpu, struct kvm_run *run, in kvm_riscv_vcpu_mmio_store()
[all …]
Dvcpu_sbi.c55 void kvm_riscv_vcpu_sbi_forward(struct kvm_vcpu *vcpu, struct kvm_run *run) in kvm_riscv_vcpu_sbi_forward()
75 struct kvm_run *run, in kvm_riscv_vcpu_sbi_system_reset()
92 int kvm_riscv_vcpu_sbi_return(struct kvm_vcpu *vcpu, struct kvm_run *run) in kvm_riscv_vcpu_sbi_return()
124 int kvm_riscv_vcpu_sbi_ecall(struct kvm_vcpu *vcpu, struct kvm_run *run) in kvm_riscv_vcpu_sbi_ecall()
Dvcpu_sbi_base.c18 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_exit.c13 static int gstage_page_fault(struct kvm_vcpu *vcpu, struct kvm_run *run, in gstage_page_fault()
169 int kvm_riscv_vcpu_exit(struct kvm_vcpu *vcpu, struct kvm_run *run, in kvm_riscv_vcpu_exit()
/linux-6.1.9/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()
149 struct kvm_run *run = vcpu->run; in test_set_and_verify_various_reg_values()
191 struct kvm_run *run = vcpu->run; in test_clear_kvm_dirty_regs_bits()
/linux-6.1.9/arch/s390/kvm/
Dkvm-s390.c4692 struct kvm_run *kvm_run = vcpu->run; in sync_regs_fmt2() local
4696 riccb = (struct runtime_instr_cb *) &kvm_run->s.regs.riccb; in sync_regs_fmt2()
4697 gscb = (struct gs_cb *) &kvm_run->s.regs.gscb; in sync_regs_fmt2()
4698 vcpu->arch.sie_block->gpsw.mask = kvm_run->psw_mask; in sync_regs_fmt2()
4699 vcpu->arch.sie_block->gpsw.addr = kvm_run->psw_addr; in sync_regs_fmt2()
4700 if (kvm_run->kvm_dirty_regs & KVM_SYNC_ARCH0) { in sync_regs_fmt2()
4701 vcpu->arch.sie_block->todpr = kvm_run->s.regs.todpr; in sync_regs_fmt2()
4702 vcpu->arch.sie_block->pp = kvm_run->s.regs.pp; in sync_regs_fmt2()
4703 vcpu->arch.sie_block->gbea = kvm_run->s.regs.gbea; in sync_regs_fmt2()
4705 if (kvm_run->kvm_dirty_regs & KVM_SYNC_PFAULT) { in sync_regs_fmt2()
[all …]
/linux-6.1.9/tools/testing/selftests/kvm/
Dset_memory_region_test.c56 struct kvm_run *run = vcpu->run; in vcpu_worker()
260 struct kvm_run *run; in test_delete_memory_region()
311 struct kvm_run *run; in test_zero_memory_regions()
/linux-6.1.9/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.c147 struct kvm_run *run = vcpu->run; in kvm_handle_guest_debug()
266 struct kvm_run *run = vcpu->run; in handle_exit()
/linux-6.1.9/tools/testing/selftests/kvm/lib/s390x/
Ddiag318_test_handler.c30 struct kvm_run *run; in diag318_handler()
Ducall.c38 struct kvm_run *run = vcpu->run; in get_ucall()
/linux-6.1.9/tools/testing/selftests/kvm/lib/x86_64/
Ducall.c40 struct kvm_run *run = vcpu->run; in get_ucall()

1234