Searched refs:vcpu_fd (Results 1 – 2 of 2) sorted by relevance
/linux-5.19.10/tools/testing/selftests/kvm/lib/aarch64/ |
D | processor.c | 464 int kvm_fd, vm_fd, vcpu_fd, err; in aarch64_get_supported_page_sizes() local 475 vcpu_fd = ioctl(vm_fd, KVM_CREATE_VCPU, 0); in aarch64_get_supported_page_sizes() 476 TEST_ASSERT(vcpu_fd >= 0, "Can't create vcpu"); in aarch64_get_supported_page_sizes() 480 err = ioctl(vcpu_fd, KVM_ARM_VCPU_INIT, &preferred_init); in aarch64_get_supported_page_sizes() 483 err = ioctl(vcpu_fd, KVM_GET_ONE_REG, ®); in aarch64_get_supported_page_sizes() 490 close(vcpu_fd); in aarch64_get_supported_page_sizes()
|
/linux-5.19.10/tools/testing/selftests/kvm/ |
D | dirty_log_test.c | 512 int ret, vcpu_fd; in vcpu_worker() local 520 vcpu_fd = vcpu_get_fd(vm, VCPU_ID); in vcpu_worker() 542 ret = ioctl(vcpu_fd, KVM_RUN, NULL); in vcpu_worker()
|