Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/kvm/
H A Dkvm_binary_stats_test.c188 int vm_stats_fds, *vcpu_stats_fds; in main() local
225 vcpu_stats_fds = calloc(max_vm, sizeof(*vcpu_stats_fds)); in main()
226 TEST_ASSERT(vcpu_stats_fds, "Allocate memory for VM stats fds"); in main()
250 vcpu_stats_fds[j] = vcpu_get_stats_fd(vcpus[i * max_vcpu + j]); in main()
251 stats_test(dup(vcpu_stats_fds[j])); in main()
265 stats_test(vcpu_stats_fds[j]); in main()
272 free(vcpu_stats_fds); in main()