Searched refs:_vcpu_ioctl (Results 1 – 9 of 9) sorted by relevance
/tools/testing/selftests/kvm/s390x/ |
D | memop.c | 93 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()
|
D | resets.c | 79 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/ |
D | steal_time.c | 176 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/ |
D | hyperv_cpuid.c | 119 ret = _vcpu_ioctl(vm, VCPU_ID, KVM_GET_SUPPORTED_HV_CPUID, &cpuid); in test_hv_cpuid_e2big()
|
D | vmx_nested_tsc_scaling_test.c | 189 tsc_khz = _vcpu_ioctl(vm, VCPU_ID, KVM_GET_TSC_KHZ, NULL); in main()
|
/tools/testing/selftests/kvm/lib/ |
D | kvm_util.c | 1626 ret = _vcpu_ioctl(vm, vcpuid, KVM_GET_REG_LIST, ®_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/ |
D | get-reg-list.c | 455 ret = _vcpu_ioctl(vm, 0, KVM_GET_ONE_REG, ®); in run_test() 467 ret = _vcpu_ioctl(vm, 0, KVM_SET_ONE_REG, ®); in run_test() 479 ret = _vcpu_ioctl(vm, 0, KVM_SET_ONE_REG, ®); in run_test()
|
D | vgic_init.c | 55 int ret = _vcpu_ioctl(vm, vcpuid, KVM_RUN, NULL); in run_vcpu()
|
/tools/testing/selftests/kvm/include/ |
D | kvm_util.h | 135 int _vcpu_ioctl(struct kvm_vm *vm, uint32_t vcpuid, unsigned long ioctl,
|