Searched refs:__vcpu_ioctl (Results 1 – 14 of 14) sorted by relevance
/linux-6.6.21/tools/testing/selftests/kvm/aarch64/ |
D | vcpu_width_config.c | 31 ret = __vcpu_ioctl(vcpu0, KVM_ARM_VCPU_INIT, init0); in add_init_2vcpus() 36 ret = __vcpu_ioctl(vcpu1, KVM_ARM_VCPU_INIT, init1); in add_init_2vcpus() 59 ret = __vcpu_ioctl(vcpu0, KVM_ARM_VCPU_INIT, init0); in add_2vcpus_init_2vcpus() 63 ret = __vcpu_ioctl(vcpu1, KVM_ARM_VCPU_INIT, init1); in add_2vcpus_init_2vcpus()
|
/linux-6.6.21/tools/testing/selftests/kvm/include/ |
D | kvm_util_base.h | 295 #define __vcpu_ioctl(vcpu, cmd, arg) \ macro 303 int ret = __vcpu_ioctl(vcpu, cmd, arg); \ 469 return __vcpu_ioctl(vcpu, KVM_RUN, NULL); in __vcpu_run() 520 return __vcpu_ioctl(vcpu, KVM_SET_SREGS, sregs); in _vcpu_sregs_set() 535 return __vcpu_ioctl(vcpu, KVM_GET_ONE_REG, ®); in __vcpu_get_reg() 541 return __vcpu_ioctl(vcpu, KVM_SET_ONE_REG, ®); in __vcpu_set_reg() 577 return __vcpu_ioctl(vcpu, KVM_SET_NESTED_STATE, state); in __vcpu_nested_state_set() 588 int fd = __vcpu_ioctl(vcpu, KVM_GET_STATS_FD, NULL); in vcpu_get_stats_fd()
|
/linux-6.6.21/tools/testing/selftests/kvm/ |
D | steal_time.c | 164 return !__vcpu_ioctl(vcpu, KVM_HAS_DEVICE_ATTR, &dev); in is_steal_time_supported() 186 ret = __vcpu_ioctl(vcpu, KVM_SET_DEVICE_ATTR, &dev); in steal_time_init() 192 ret = __vcpu_ioctl(vcpu, KVM_SET_DEVICE_ATTR, &dev); in steal_time_init()
|
D | get-reg-list.c | 235 ret = __vcpu_ioctl(vcpu, KVM_SET_ONE_REG, ®); in run_test() 254 ret = __vcpu_ioctl(vcpu, KVM_SET_ONE_REG, ®); in run_test()
|
/linux-6.6.21/tools/testing/selftests/kvm/s390x/ |
D | resets.c | 75 irqs = __vcpu_ioctl(vcpu, KVM_S390_GET_IRQ_STATE, &irq_state); in assert_noirq() 201 irqs = __vcpu_ioctl(vcpu, KVM_S390_SET_IRQ_STATE, &irq_state); in inject_irq()
|
D | memop.c | 171 return __vcpu_ioctl(vcpu, KVM_S390_MEM_OP, ksmo); in err_memop_ioctl()
|
/linux-6.6.21/tools/testing/selftests/kvm/x86_64/ |
D | hyperv_cpuid.c | 122 ret = __vcpu_ioctl(vcpu, KVM_GET_SUPPORTED_HV_CPUID, &cpuid); in test_hv_cpuid_e2big()
|
D | vmx_nested_tsc_scaling_test.c | 175 tsc_khz = __vcpu_ioctl(vcpu, KVM_GET_TSC_KHZ, NULL); in main()
|
D | cpuid_test.c | 178 r = __vcpu_ioctl(vcpu, KVM_GET_CPUID2, cpuid); in test_get_cpuid2()
|
D | sync_regs_test.c | 200 __vcpu_ioctl(vcpu, KVM_TRANSLATE, &tr); in race_sync_regs()
|
/linux-6.6.21/tools/testing/selftests/kvm/include/x86_64/ |
D | processor.h | 811 int r = __vcpu_ioctl(vcpu, KVM_GET_MSRS, msrs); in vcpu_msrs_get() 819 int r = __vcpu_ioctl(vcpu, KVM_SET_MSRS, msrs); in vcpu_msrs_set() 979 r = __vcpu_ioctl(vcpu, KVM_SET_CPUID2, vcpu->cpuid); in __vcpu_set_cpuid()
|
/linux-6.6.21/tools/testing/selftests/kvm/lib/riscv/ |
D | processor.c | 305 r = __vcpu_ioctl(vcpu, KVM_SET_MP_STATE, &mps); in vm_arch_vcpu_add()
|
/linux-6.6.21/tools/testing/selftests/kvm/lib/x86_64/ |
D | processor.c | 819 return __vcpu_ioctl(vcpu, KVM_SET_MSRS, &buffer.header); in _vcpu_set_msr()
|
/linux-6.6.21/tools/testing/selftests/kvm/lib/ |
D | kvm_util.c | 1623 ret = __vcpu_ioctl(vcpu, KVM_GET_REG_LIST, ®_list_n); in vcpu_get_reg_list()
|