Home
last modified time | relevance | path

Searched refs:vcpu_ioctl (Results 1 – 13 of 13) sorted by relevance

/linux-6.3-rc2/tools/testing/selftests/kvm/x86_64/
A Dxen_shinfo_test.c516 vcpu_ioctl(vcpu, KVM_XEN_VCPU_SET_ATTR, &vi); in main()
539 vcpu_ioctl(vcpu, KVM_XEN_VCPU_SET_ATTR, &st); in main()
615 vcpu_ioctl(vcpu, KVM_XEN_VCPU_SET_ATTR, &tmr); in main()
665 vcpu_ioctl(vcpu, KVM_XEN_VCPU_SET_ATTR, &rst); in main()
680 vcpu_ioctl(vcpu, KVM_XEN_VCPU_SET_ATTR, &rst); in main()
692 vcpu_ioctl(vcpu, KVM_XEN_VCPU_SET_ATTR, &rst); in main()
793 vcpu_ioctl(vcpu, KVM_XEN_VCPU_GET_ATTR, &tmr); in main()
813 vcpu_ioctl(vcpu, KVM_XEN_VCPU_SET_ATTR, &tmr); in main()
1013 vcpu_ioctl(vcpu, KVM_XEN_VCPU_GET_ATTR, &rst); in main()
1050 vcpu_ioctl(vcpu, KVM_XEN_VCPU_SET_ATTR, &st); in main()
[all …]
A Dxapic_state_test.c62 vcpu_ioctl(vcpu, KVM_GET_LAPIC, &xapic); in ____test_icr()
65 vcpu_ioctl(vcpu, KVM_SET_LAPIC, &xapic); in ____test_icr()
71 vcpu_ioctl(vcpu, KVM_GET_LAPIC, &xapic); in ____test_icr()
142 vcpu_ioctl(vcpu, KVM_GET_LAPIC, &xapic); in __test_apic_id()
A Ducna_injection_test.c176 vcpu_ioctl(vcpu, KVM_X86_SET_MCE, &mce); in inject_ucna()
267 vcpu_ioctl(vcpu, KVM_X86_SETUP_MCE, &mcg_caps); in setup_mce_cap()
A Dvmx_nested_tsc_scaling_test.c183 vcpu_ioctl(vcpu, KVM_SET_TSC_KHZ, (void *) (tsc_khz / l1_scale_factor)); in main()
/linux-6.3-rc2/tools/testing/selftests/kvm/include/
A Dkvm_util_base.h286 #define vcpu_ioctl(vcpu, cmd, arg) \ macro
462 vcpu_ioctl(vcpu, KVM_SET_GUEST_DEBUG, debug); in vcpu_guest_debug_set()
468 vcpu_ioctl(vcpu, KVM_GET_MP_STATE, mp_state); in vcpu_mp_state_get()
478 vcpu_ioctl(vcpu, KVM_GET_REGS, regs); in vcpu_regs_get()
483 vcpu_ioctl(vcpu, KVM_SET_REGS, regs); in vcpu_regs_set()
487 vcpu_ioctl(vcpu, KVM_GET_SREGS, sregs); in vcpu_sregs_get()
492 vcpu_ioctl(vcpu, KVM_SET_SREGS, sregs); in vcpu_sregs_set()
500 vcpu_ioctl(vcpu, KVM_GET_FPU, fpu); in vcpu_fpu_get()
504 vcpu_ioctl(vcpu, KVM_SET_FPU, fpu); in vcpu_fpu_set()
523 vcpu_ioctl(vcpu, KVM_GET_ONE_REG, &reg); in vcpu_get_reg()
[all …]
/linux-6.3-rc2/tools/testing/selftests/kvm/include/x86_64/
A Dprocessor.h748 vcpu_ioctl(vcpu, KVM_GET_DEBUGREGS, debugregs); in vcpu_debugregs_get()
753 vcpu_ioctl(vcpu, KVM_SET_DEBUGREGS, debugregs); in vcpu_debugregs_set()
758 vcpu_ioctl(vcpu, KVM_GET_XSAVE, xsave); in vcpu_xsave_get()
763 vcpu_ioctl(vcpu, KVM_GET_XSAVE2, xsave); in vcpu_xsave2_get()
768 vcpu_ioctl(vcpu, KVM_SET_XSAVE, xsave); in vcpu_xsave_set()
773 vcpu_ioctl(vcpu, KVM_GET_XCRS, xcrs); in vcpu_xcrs_get()
777 vcpu_ioctl(vcpu, KVM_SET_XCRS, xcrs); in vcpu_xcrs_set()
895 vcpu_ioctl(vcpu, KVM_GET_CPUID2, vcpu->cpuid); in __vcpu_set_cpuid()
902 vcpu_ioctl(vcpu, KVM_SET_CPUID2, vcpu->cpuid); in vcpu_set_cpuid()
905 vcpu_ioctl(vcpu, KVM_GET_CPUID2, vcpu->cpuid); in vcpu_set_cpuid()
/linux-6.3-rc2/tools/testing/selftests/kvm/s390x/
A Dresets.c228 vcpu_ioctl(vcpu, KVM_S390_NORMAL_RESET, NULL); in test_normal()
251 vcpu_ioctl(vcpu, KVM_S390_INITIAL_RESET, NULL); in test_initial()
274 vcpu_ioctl(vcpu, KVM_S390_CLEAR_RESET, NULL); in test_clear()
/linux-6.3-rc2/tools/testing/selftests/kvm/
A Dsteal_time.c179 vcpu_ioctl(vcpu, KVM_HAS_DEVICE_ATTR, &dev); in steal_time_init()
190 vcpu_ioctl(vcpu, KVM_SET_DEVICE_ATTR, &dev); in steal_time_init()
A Ddirty_log_test.c551 vcpu_ioctl(vcpu, KVM_SET_SIGNAL_MASK, sigmask); in vcpu_worker()
/linux-6.3-rc2/tools/testing/selftests/kvm/lib/aarch64/
A Dprocessor.c240 vcpu_ioctl(vcpu, KVM_ARM_VCPU_INIT, init); in aarch64_vcpu_setup()
/linux-6.3-rc2/tools/testing/selftests/kvm/aarch64/
A Dget-reg-list.c388 vcpu_ioctl(vcpu, KVM_ARM_VCPU_FINALIZE, &feature); in finalize_vcpu()
/linux-6.3-rc2/tools/testing/selftests/kvm/lib/x86_64/
A Dprocessor.c1213 vcpu_ioctl(vcpu, KVM_GET_SUPPORTED_HV_CPUID, cpuid); in vcpu_get_supported_hv_cpuid()
/linux-6.3-rc2/tools/testing/selftests/kvm/lib/
A Dkvm_util.c1602 vcpu_ioctl(vcpu, KVM_GET_REG_LIST, reg_list); in vcpu_get_reg_list()

Completed in 31 milliseconds