Home
last modified time | relevance | path

Searched refs:_vcpu_ioctl (Results 1 – 9 of 9) sorted by relevance

/tools/testing/selftests/kvm/s390x/
Dmemop.c93 rv = _vcpu_ioctl(vm, VCPU_ID, KVM_S390_MEM_OP, &ksmo); in main()
103 rv = _vcpu_ioctl(vm, VCPU_ID, KVM_S390_MEM_OP, &ksmo); in main()
114 rv = _vcpu_ioctl(vm, VCPU_ID, KVM_S390_MEM_OP, &ksmo); in main()
124 rv = _vcpu_ioctl(vm, VCPU_ID, KVM_S390_MEM_OP, &ksmo); in main()
134 rv = _vcpu_ioctl(vm, VCPU_ID, KVM_S390_MEM_OP, &ksmo); in main()
144 rv = _vcpu_ioctl(vm, VCPU_ID, KVM_S390_MEM_OP, &ksmo); in main()
158 rv = _vcpu_ioctl(vm, VCPU_ID, KVM_S390_MEM_OP, &ksmo); in main()
Dresets.c79 irqs = _vcpu_ioctl(vm, VCPU_ID, KVM_S390_GET_IRQ_STATE, &irq_state); in assert_noirq()
199 irqs = _vcpu_ioctl(vm, cpu_id, KVM_S390_SET_IRQ_STATE, &irq_state); in inject_irq()
/tools/testing/selftests/kvm/
Dsteal_time.c176 ret = _vcpu_ioctl(vm, 0, KVM_HAS_DEVICE_ATTR, &dev); in steal_time_init()
194 ret = _vcpu_ioctl(vm, i, KVM_SET_DEVICE_ATTR, &dev); in steal_time_init()
200 ret = _vcpu_ioctl(vm, i, KVM_SET_DEVICE_ATTR, &dev); in steal_time_init()
/tools/testing/selftests/kvm/x86_64/
Dhyperv_cpuid.c119 ret = _vcpu_ioctl(vm, VCPU_ID, KVM_GET_SUPPORTED_HV_CPUID, &cpuid); in test_hv_cpuid_e2big()
Dvmx_nested_tsc_scaling_test.c189 tsc_khz = _vcpu_ioctl(vm, VCPU_ID, KVM_GET_TSC_KHZ, NULL); in main()
/tools/testing/selftests/kvm/lib/
Dkvm_util.c1626 ret = _vcpu_ioctl(vm, vcpuid, KVM_GET_REG_LIST, &reg_list_n); in vcpu_get_reg_list()
1812 ret = _vcpu_ioctl(vm, vcpuid, KVM_GET_FPU, fpu); in vcpu_fpu_get()
1821 ret = _vcpu_ioctl(vm, vcpuid, KVM_SET_FPU, fpu); in vcpu_fpu_set()
1830 ret = _vcpu_ioctl(vm, vcpuid, KVM_GET_ONE_REG, reg); in vcpu_get_reg()
1839 ret = _vcpu_ioctl(vm, vcpuid, KVM_SET_ONE_REG, reg); in vcpu_set_reg()
1862 ret = _vcpu_ioctl(vm, vcpuid, cmd, arg); in vcpu_ioctl()
1867 int _vcpu_ioctl(struct kvm_vm *vm, uint32_t vcpuid, in _vcpu_ioctl() function
/tools/testing/selftests/kvm/aarch64/
Dget-reg-list.c455 ret = _vcpu_ioctl(vm, 0, KVM_GET_ONE_REG, &reg); in run_test()
467 ret = _vcpu_ioctl(vm, 0, KVM_SET_ONE_REG, &reg); in run_test()
479 ret = _vcpu_ioctl(vm, 0, KVM_SET_ONE_REG, &reg); in run_test()
Dvgic_init.c55 int ret = _vcpu_ioctl(vm, vcpuid, KVM_RUN, NULL); in run_vcpu()
/tools/testing/selftests/kvm/include/
Dkvm_util.h135 int _vcpu_ioctl(struct kvm_vm *vm, uint32_t vcpuid, unsigned long ioctl,