Home
last modified time | relevance | path

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

/linux-6.6.21/tools/testing/selftests/kvm/x86_64/
Dxen_shinfo_test.c511 vcpu_ioctl(vcpu, KVM_XEN_VCPU_SET_ATTR, &vi); in main()
517 vcpu_ioctl(vcpu, KVM_XEN_VCPU_SET_ATTR, &pvclock); in main()
534 vcpu_ioctl(vcpu, KVM_XEN_VCPU_SET_ATTR, &st); in main()
610 vcpu_ioctl(vcpu, KVM_XEN_VCPU_SET_ATTR, &tmr); in main()
656 vcpu_ioctl(vcpu, KVM_XEN_VCPU_SET_ATTR, &rst); in main()
671 vcpu_ioctl(vcpu, KVM_XEN_VCPU_SET_ATTR, &rst); in main()
683 vcpu_ioctl(vcpu, KVM_XEN_VCPU_SET_ATTR, &rst); in main()
797 vcpu_ioctl(vcpu, KVM_XEN_VCPU_GET_ATTR, &tmr); in main()
817 vcpu_ioctl(vcpu, KVM_XEN_VCPU_SET_ATTR, &tmr); in main()
844 vcpu_ioctl(vcpu, KVM_XEN_VCPU_SET_ATTR, &tmr); in main()
[all …]
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()
Drecalc_apic_map_test.c28 vcpu_ioctl(vcpu, KVM_SET_LAPIC, &lapic); in race()
Ducna_injection_test.c172 vcpu_ioctl(vcpu, KVM_X86_SET_MCE, &mce); in inject_ucna()
253 vcpu_ioctl(vcpu, KVM_X86_SETUP_MCE, &mcg_caps); in setup_mce_cap()
Dvmx_nested_tsc_scaling_test.c179 vcpu_ioctl(vcpu, KVM_SET_TSC_KHZ, (void *) (tsc_khz / l1_scale_factor)); in main()
Dcpuid_test.c171 vcpu_ioctl(vcpu, KVM_GET_CPUID2, cpuid); in test_get_cpuid2()
/linux-6.6.21/tools/testing/selftests/kvm/include/
Dkvm_util_base.h308 #define vcpu_ioctl(vcpu, cmd, arg) \ macro
480 vcpu_ioctl(vcpu, KVM_ENABLE_CAP, &enable_cap); in vcpu_enable_cap()
486 vcpu_ioctl(vcpu, KVM_SET_GUEST_DEBUG, debug); in vcpu_guest_debug_set()
492 vcpu_ioctl(vcpu, KVM_GET_MP_STATE, mp_state); in vcpu_mp_state_get()
497 vcpu_ioctl(vcpu, KVM_SET_MP_STATE, mp_state); in vcpu_mp_state_set()
502 vcpu_ioctl(vcpu, KVM_GET_REGS, regs); in vcpu_regs_get()
507 vcpu_ioctl(vcpu, KVM_SET_REGS, regs); in vcpu_regs_set()
511 vcpu_ioctl(vcpu, KVM_GET_SREGS, sregs); in vcpu_sregs_get()
516 vcpu_ioctl(vcpu, KVM_SET_SREGS, sregs); in vcpu_sregs_set()
524 vcpu_ioctl(vcpu, KVM_GET_FPU, fpu); in vcpu_fpu_get()
[all …]
/linux-6.6.21/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h828 vcpu_ioctl(vcpu, KVM_GET_DEBUGREGS, debugregs); in vcpu_debugregs_get()
833 vcpu_ioctl(vcpu, KVM_SET_DEBUGREGS, debugregs); in vcpu_debugregs_set()
838 vcpu_ioctl(vcpu, KVM_GET_XSAVE, xsave); in vcpu_xsave_get()
843 vcpu_ioctl(vcpu, KVM_GET_XSAVE2, xsave); in vcpu_xsave2_get()
848 vcpu_ioctl(vcpu, KVM_SET_XSAVE, xsave); in vcpu_xsave_set()
853 vcpu_ioctl(vcpu, KVM_GET_XCRS, xcrs); in vcpu_xcrs_get()
857 vcpu_ioctl(vcpu, KVM_SET_XCRS, xcrs); in vcpu_xcrs_set()
984 vcpu_ioctl(vcpu, KVM_GET_CPUID2, vcpu->cpuid); in __vcpu_set_cpuid()
991 vcpu_ioctl(vcpu, KVM_SET_CPUID2, vcpu->cpuid); in vcpu_set_cpuid()
994 vcpu_ioctl(vcpu, KVM_GET_CPUID2, vcpu->cpuid); in vcpu_set_cpuid()
/linux-6.6.21/tools/testing/selftests/kvm/s390x/
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()
Ddebug_test.c90 vcpu_ioctl(vcpu, KVM_S390_IRQ, &irq); in test_step_pgm_diag()
/linux-6.6.21/tools/testing/selftests/kvm/
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()
Ddirty_log_test.c538 vcpu_ioctl(vcpu, KVM_SET_SIGNAL_MASK, sigmask); in vcpu_worker()
/linux-6.6.21/tools/testing/selftests/kvm/lib/aarch64/
Dprocessor.c256 vcpu_ioctl(vcpu, KVM_ARM_VCPU_INIT, init); in aarch64_vcpu_setup()
/linux-6.6.21/tools/testing/selftests/kvm/aarch64/
Dget-reg-list.c95 vcpu_ioctl(vcpu, KVM_ARM_VCPU_FINALIZE, &feature); in finalize_vcpu()
/linux-6.6.21/tools/testing/selftests/kvm/lib/x86_64/
Dprocessor.c1242 vcpu_ioctl(vcpu, KVM_GET_SUPPORTED_HV_CPUID, cpuid); in vcpu_get_supported_hv_cpuid()
/linux-6.6.21/tools/testing/selftests/kvm/lib/
Dkvm_util.c1628 vcpu_ioctl(vcpu, KVM_GET_REG_LIST, reg_list); in vcpu_get_reg_list()