Home
last modified time | relevance | path

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

/linux-6.1.9/tools/testing/selftests/kvm/include/
Dkvm_util_base.h249 #define vcpu_ioctl(vcpu, cmd, arg) \ macro
413 vcpu_ioctl(vcpu, KVM_ENABLE_CAP, &enable_cap); in vcpu_enable_cap()
419 vcpu_ioctl(vcpu, KVM_SET_GUEST_DEBUG, debug); in vcpu_guest_debug_set()
425 vcpu_ioctl(vcpu, KVM_GET_MP_STATE, mp_state); in vcpu_mp_state_get()
430 vcpu_ioctl(vcpu, KVM_SET_MP_STATE, mp_state); in vcpu_mp_state_set()
435 vcpu_ioctl(vcpu, KVM_GET_REGS, regs); in vcpu_regs_get()
440 vcpu_ioctl(vcpu, KVM_SET_REGS, regs); in vcpu_regs_set()
444 vcpu_ioctl(vcpu, KVM_GET_SREGS, sregs); in vcpu_sregs_get()
449 vcpu_ioctl(vcpu, KVM_SET_SREGS, sregs); in vcpu_sregs_set()
457 vcpu_ioctl(vcpu, KVM_GET_FPU, fpu); in vcpu_fpu_get()
[all …]
/linux-6.1.9/tools/testing/selftests/kvm/x86_64/
Dxen_shinfo_test.c498 vcpu_ioctl(vcpu, KVM_XEN_VCPU_SET_ATTR, &vi); in main()
504 vcpu_ioctl(vcpu, KVM_XEN_VCPU_SET_ATTR, &pvclock); in main()
521 vcpu_ioctl(vcpu, KVM_XEN_VCPU_SET_ATTR, &st); in main()
597 vcpu_ioctl(vcpu, KVM_XEN_VCPU_SET_ATTR, &tmr); in main()
647 vcpu_ioctl(vcpu, KVM_XEN_VCPU_SET_ATTR, &rst); in main()
662 vcpu_ioctl(vcpu, KVM_XEN_VCPU_SET_ATTR, &rst); in main()
674 vcpu_ioctl(vcpu, KVM_XEN_VCPU_SET_ATTR, &rst); in main()
775 vcpu_ioctl(vcpu, KVM_XEN_VCPU_GET_ATTR, &tmr); in main()
795 vcpu_ioctl(vcpu, KVM_XEN_VCPU_SET_ATTR, &tmr); in main()
822 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()
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()
Dvmx_nested_tsc_scaling_test.c183 vcpu_ioctl(vcpu, KVM_SET_TSC_KHZ, (void *) (tsc_khz / l1_scale_factor)); in main()
/linux-6.1.9/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h575 vcpu_ioctl(vcpu, KVM_GET_DEBUGREGS, debugregs); in vcpu_debugregs_get()
580 vcpu_ioctl(vcpu, KVM_SET_DEBUGREGS, debugregs); in vcpu_debugregs_set()
585 vcpu_ioctl(vcpu, KVM_GET_XSAVE, xsave); in vcpu_xsave_get()
590 vcpu_ioctl(vcpu, KVM_GET_XSAVE2, xsave); in vcpu_xsave2_get()
595 vcpu_ioctl(vcpu, KVM_SET_XSAVE, xsave); in vcpu_xsave_set()
600 vcpu_ioctl(vcpu, KVM_GET_XCRS, xcrs); in vcpu_xcrs_get()
604 vcpu_ioctl(vcpu, KVM_SET_XCRS, xcrs); in vcpu_xcrs_set()
671 vcpu_ioctl(vcpu, KVM_GET_CPUID2, vcpu->cpuid); in __vcpu_set_cpuid()
678 vcpu_ioctl(vcpu, KVM_SET_CPUID2, vcpu->cpuid); in vcpu_set_cpuid()
681 vcpu_ioctl(vcpu, KVM_GET_CPUID2, vcpu->cpuid); in vcpu_set_cpuid()
/linux-6.1.9/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()
Dmemop.c155 vcpu_ioctl(vcpu, KVM_S390_MEM_OP, ksmo); in memop_ioctl()
/linux-6.1.9/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.c526 vcpu_ioctl(vcpu, KVM_SET_SIGNAL_MASK, sigmask); in vcpu_worker()
/linux-6.1.9/tools/testing/selftests/kvm/lib/aarch64/
Dprocessor.c230 vcpu_ioctl(vcpu, KVM_ARM_VCPU_INIT, init); in aarch64_vcpu_setup()
/linux-6.1.9/tools/testing/selftests/kvm/aarch64/
Dget-reg-list.c388 vcpu_ioctl(vcpu, KVM_ARM_VCPU_FINALIZE, &feature); in finalize_vcpu()
/linux-6.1.9/tools/testing/selftests/kvm/lib/x86_64/
Dprocessor.c1259 vcpu_ioctl(vcpu, KVM_GET_SUPPORTED_HV_CPUID, cpuid); in vcpu_get_supported_hv_cpuid()
/linux-6.1.9/tools/testing/selftests/kvm/lib/
Dkvm_util.c1503 vcpu_ioctl(vcpu, KVM_GET_REG_LIST, reg_list); in vcpu_get_reg_list()