Home
last modified time | relevance | path

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

/Linux-v5.10/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()
/Linux-v5.10/tools/testing/selftests/kvm/
Dsteal_time.c180 ret = _vcpu_ioctl(vm, 0, KVM_HAS_DEVICE_ATTR, &dev); in steal_time_init()
198 ret = _vcpu_ioctl(vm, i, KVM_SET_DEVICE_ATTR, &dev); in steal_time_init()
204 ret = _vcpu_ioctl(vm, i, KVM_SET_DEVICE_ATTR, &dev); in steal_time_init()
/Linux-v5.10/tools/testing/selftests/kvm/lib/
Dkvm_util.c1310 ret = _vcpu_ioctl(vm, vcpuid, KVM_GET_REG_LIST, &reg_list_n); in vcpu_get_reg_list()
1496 ret = _vcpu_ioctl(vm, vcpuid, KVM_GET_FPU, fpu); in vcpu_fpu_get()
1505 ret = _vcpu_ioctl(vm, vcpuid, KVM_SET_FPU, fpu); in vcpu_fpu_set()
1514 ret = _vcpu_ioctl(vm, vcpuid, KVM_GET_ONE_REG, reg); in vcpu_get_reg()
1523 ret = _vcpu_ioctl(vm, vcpuid, KVM_SET_ONE_REG, reg); in vcpu_set_reg()
1546 ret = _vcpu_ioctl(vm, vcpuid, cmd, arg); in vcpu_ioctl()
1551 int _vcpu_ioctl(struct kvm_vm *vm, uint32_t vcpuid, in _vcpu_ioctl() function
/Linux-v5.10/tools/testing/selftests/kvm/x86_64/
Dhyperv_cpuid.c118 ret = _vcpu_ioctl(vm, VCPU_ID, KVM_GET_SUPPORTED_HV_CPUID, &cpuid); in test_hv_cpuid_e2big()
/Linux-v5.10/tools/testing/selftests/kvm/aarch64/
Dget-reg-list.c379 ret = _vcpu_ioctl(vm, 0, KVM_GET_ONE_REG, &reg); in main()
389 ret = _vcpu_ioctl(vm, 0, KVM_SET_ONE_REG, &reg); in main()
399 ret = _vcpu_ioctl(vm, 0, KVM_SET_ONE_REG, &reg); in main()
/Linux-v5.10/tools/testing/selftests/kvm/include/
Dkvm_util.h114 int _vcpu_ioctl(struct kvm_vm *vm, uint32_t vcpuid, unsigned long ioctl,