Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/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()
Duser_msr_test.c154 static void handle_rdmsr(struct kvm_run *run) in handle_rdmsr()
171 static void handle_wrmsr(struct kvm_run *run) in handle_wrmsr()
200 struct kvm_run *run; in main()
Dplatform_info_test.c50 struct kvm_run *run = vcpu_state(vm, VCPU_ID); in test_msr_platform_info_enabled()
70 struct kvm_run *run = vcpu_state(vm, VCPU_ID); in test_msr_platform_info_disabled()
Dvmx_close_while_nested_test.c67 volatile struct kvm_run *run = vcpu_state(vm, VCPU_ID); in main()
Dsvm_vmcall_test.c53 volatile struct kvm_run *run = vcpu_state(vm, VCPU_ID); in main()
Dcr4_cpuid_sync_test.c66 struct kvm_run *run; in main()
Dvmx_dirty_log_test.c77 struct kvm_run *run; in main()
Dvmx_apic_access_test.c104 volatile struct kvm_run *run = vcpu_state(vm, VCPU_ID); in main()
Dvmx_tsc_adjust_test.c142 volatile struct kvm_run *run = vcpu_state(vm, VCPU_ID); in main()
Dsmm_test.c98 struct kvm_run *run; in main()
Devmcs_test.c87 struct kvm_run *run; in main()
Dkvm_pv_test.c178 struct kvm_run *run; in enter_guest()
Dvmx_preemption_timer_test.c161 struct kvm_run *run; in main()
/kernel/linux/linux-5.10/arch/s390/kvm/
Dkvm-s390.c4181 struct kvm_run *kvm_run = vcpu->run; in sync_regs_fmt2() local
4185 riccb = (struct runtime_instr_cb *) &kvm_run->s.regs.riccb; in sync_regs_fmt2()
4186 gscb = (struct gs_cb *) &kvm_run->s.regs.gscb; in sync_regs_fmt2()
4187 vcpu->arch.sie_block->gpsw.mask = kvm_run->psw_mask; in sync_regs_fmt2()
4188 vcpu->arch.sie_block->gpsw.addr = kvm_run->psw_addr; in sync_regs_fmt2()
4189 if (kvm_run->kvm_dirty_regs & KVM_SYNC_ARCH0) { in sync_regs_fmt2()
4190 vcpu->arch.sie_block->todpr = kvm_run->s.regs.todpr; in sync_regs_fmt2()
4191 vcpu->arch.sie_block->pp = kvm_run->s.regs.pp; in sync_regs_fmt2()
4192 vcpu->arch.sie_block->gbea = kvm_run->s.regs.gbea; in sync_regs_fmt2()
4194 if (kvm_run->kvm_dirty_regs & KVM_SYNC_PFAULT) { in sync_regs_fmt2()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/
Dset_memory_region_test.c58 struct kvm_run *run; in vcpu_worker()
264 struct kvm_run *run; in test_delete_memory_region()
314 struct kvm_run *run; in test_zero_memory_regions()
/kernel/linux/linux-5.10/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.c121 struct kvm_run *run = vcpu->run; in kvm_handle_guest_debug()
242 struct kvm_run *run = vcpu->run; in handle_exit()
/kernel/linux/linux-5.10/include/linux/
Dkvm_types.h13 struct kvm_run;
/kernel/linux/linux-5.10/arch/x86/kvm/svm/
Dsvm.c1833 struct kvm_run *kvm_run = svm->vcpu.run; in db_interception() local
1852 kvm_run->exit_reason = KVM_EXIT_DEBUG; in db_interception()
1853 kvm_run->debug.arch.dr6 = svm->vmcb->save.dr6; in db_interception()
1854 kvm_run->debug.arch.dr7 = svm->vmcb->save.dr7; in db_interception()
1855 kvm_run->debug.arch.pc = in db_interception()
1857 kvm_run->debug.arch.exception = DB_VECTOR; in db_interception()
1866 struct kvm_run *kvm_run = svm->vcpu.run; in bp_interception() local
1868 kvm_run->exit_reason = KVM_EXIT_DEBUG; in bp_interception()
1869 kvm_run->debug.arch.pc = svm->vmcb->save.cs.base + svm->vmcb->save.rip; in bp_interception()
1870 kvm_run->debug.arch.exception = BP_VECTOR; in bp_interception()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/
Dkvm_util_internal.h30 struct kvm_run *state;
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/x86_64/
Ducall.c40 struct kvm_run *run = vcpu_state(vm, vcpu_id); in get_ucall()
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/s390x/
Ducall.c38 struct kvm_run *run = vcpu_state(vm, vcpu_id); in get_ucall()
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/aarch64/
Ducall.c94 struct kvm_run *run = vcpu_state(vm, vcpu_id); in get_ucall()
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/s390x/
Dsync_regs_test.c79 struct kvm_run *run; in main()
Dmemop.c35 struct kvm_run *run; in main()

123