Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/kvm/x86_64/
Dxen_shinfo_test.c526 vcpu_ioctl(vcpu, KVM_XEN_VCPU_SET_ATTR, &vi); in main()
532 vcpu_ioctl(vcpu, KVM_XEN_VCPU_SET_ATTR, &pvclock); in main()
547 vcpu_ioctl(vcpu, KVM_XEN_VCPU_SET_ATTR, &st); in main()
623 vcpu_ioctl(vcpu, KVM_XEN_VCPU_SET_ATTR, &tmr); in main()
669 vcpu_ioctl(vcpu, KVM_XEN_VCPU_SET_ATTR, &rst); in main()
684 vcpu_ioctl(vcpu, KVM_XEN_VCPU_SET_ATTR, &rst); in main()
696 vcpu_ioctl(vcpu, KVM_XEN_VCPU_SET_ATTR, &rst); in main()
810 vcpu_ioctl(vcpu, KVM_XEN_VCPU_GET_ATTR, &tmr); in main()
830 vcpu_ioctl(vcpu, KVM_XEN_VCPU_SET_ATTR, &tmr); in main()
857 vcpu_ioctl(vcpu, KVM_XEN_VCPU_SET_ATTR, &tmr); in main()
[all …]
Dxapic_state_test.c71 vcpu_ioctl(vcpu, KVM_GET_LAPIC, &xapic); in ____test_icr()
74 vcpu_ioctl(vcpu, KVM_SET_LAPIC, &xapic); in ____test_icr()
80 vcpu_ioctl(vcpu, KVM_GET_LAPIC, &xapic); in ____test_icr()
152 vcpu_ioctl(vcpu, KVM_GET_LAPIC, &xapic); in __test_apic_id()
215 vcpu_ioctl(vcpu, KVM_SET_LAPIC, &lapic); in test_x2apic_id()
217 vcpu_ioctl(vcpu, KVM_GET_LAPIC, &lapic); in test_x2apic_id()
Drecalc_apic_map_test.c28 vcpu_ioctl(vcpu, KVM_SET_LAPIC, &lapic); in race()
Ducna_injection_test.c169 vcpu_ioctl(vcpu, KVM_X86_SET_MCE, &mce); in inject_ucna()
250 vcpu_ioctl(vcpu, KVM_X86_SETUP_MCE, &mcg_caps); in setup_mce_cap()
Dvmx_nested_tsc_scaling_test.c162 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.12.1/tools/testing/selftests/kvm/include/
Dkvm_util.h345 #define vcpu_ioctl(vcpu, cmd, arg) \ macro
642 vcpu_ioctl(vcpu, KVM_ENABLE_CAP, &enable_cap); in vcpu_enable_cap()
648 vcpu_ioctl(vcpu, KVM_SET_GUEST_DEBUG, debug); in vcpu_guest_debug_set()
654 vcpu_ioctl(vcpu, KVM_GET_MP_STATE, mp_state); in vcpu_mp_state_get()
659 vcpu_ioctl(vcpu, KVM_SET_MP_STATE, mp_state); in vcpu_mp_state_set()
664 vcpu_ioctl(vcpu, KVM_GET_REGS, regs); in vcpu_regs_get()
669 vcpu_ioctl(vcpu, KVM_SET_REGS, regs); in vcpu_regs_set()
673 vcpu_ioctl(vcpu, KVM_GET_SREGS, sregs); in vcpu_sregs_get()
678 vcpu_ioctl(vcpu, KVM_SET_SREGS, sregs); in vcpu_sregs_set()
686 vcpu_ioctl(vcpu, KVM_GET_FPU, fpu); in vcpu_fpu_get()
[all …]
/linux-6.12.1/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.12.1/tools/testing/selftests/kvm/include/x86_64/
Dprocessor.h880 vcpu_ioctl(vcpu, KVM_GET_DEBUGREGS, debugregs); in vcpu_debugregs_get()
885 vcpu_ioctl(vcpu, KVM_SET_DEBUGREGS, debugregs); in vcpu_debugregs_set()
890 vcpu_ioctl(vcpu, KVM_GET_XSAVE, xsave); in vcpu_xsave_get()
895 vcpu_ioctl(vcpu, KVM_GET_XSAVE2, xsave); in vcpu_xsave2_get()
900 vcpu_ioctl(vcpu, KVM_SET_XSAVE, xsave); in vcpu_xsave_set()
905 vcpu_ioctl(vcpu, KVM_GET_XCRS, xcrs); in vcpu_xcrs_get()
909 vcpu_ioctl(vcpu, KVM_SET_XCRS, xcrs); in vcpu_xcrs_set()
1039 vcpu_ioctl(vcpu, KVM_GET_CPUID2, vcpu->cpuid); in __vcpu_set_cpuid()
1046 vcpu_ioctl(vcpu, KVM_SET_CPUID2, vcpu->cpuid); in vcpu_set_cpuid()
1049 vcpu_ioctl(vcpu, KVM_GET_CPUID2, vcpu->cpuid); in vcpu_set_cpuid()
/linux-6.12.1/tools/testing/selftests/kvm/lib/x86_64/
Dhyperv.c65 vcpu_ioctl(vcpu, KVM_GET_SUPPORTED_HV_CPUID, cpuid); in vcpu_get_supported_hv_cpuid()
/linux-6.12.1/tools/testing/selftests/kvm/
Dsteal_time.c181 vcpu_ioctl(vcpu, KVM_HAS_DEVICE_ATTR, &dev); in steal_time_init()
192 vcpu_ioctl(vcpu, KVM_SET_DEVICE_ATTR, &dev); in steal_time_init()
Ddirty_log_test.c525 vcpu_ioctl(vcpu, KVM_SET_SIGNAL_MASK, sigmask); in vcpu_worker()
/linux-6.12.1/tools/testing/selftests/kvm/aarch64/
Dvpmu_counter_access.c451 vcpu_ioctl(vpmu_vm.vcpu, KVM_SET_DEVICE_ATTR, &irq_attr); in create_vpmu_vm()
452 vcpu_ioctl(vpmu_vm.vcpu, KVM_SET_DEVICE_ATTR, &init_attr); in create_vpmu_vm()
Dget-reg-list.c107 vcpu_ioctl(vcpu, KVM_ARM_VCPU_FINALIZE, &feature); in finalize_vcpu()
/linux-6.12.1/tools/testing/selftests/kvm/lib/aarch64/
Dprocessor.c276 vcpu_ioctl(vcpu, KVM_ARM_VCPU_INIT, init); in aarch64_vcpu_setup()
/linux-6.12.1/tools/testing/selftests/kvm/lib/
Dkvm_util.c1693 vcpu_ioctl(vcpu, KVM_GET_REG_LIST, reg_list); in vcpu_get_reg_list()