Searched refs:vcpu_fd (Results 1 – 1 of 1) sorted by relevance
/Linux-v6.6/tools/testing/selftests/kvm/lib/aarch64/ |
D | processor.c | 499 int kvm_fd, vm_fd, vcpu_fd, err; in aarch64_get_supported_page_sizes() local 510 vcpu_fd = ioctl(vm_fd, KVM_CREATE_VCPU, 0); in aarch64_get_supported_page_sizes() 511 TEST_ASSERT(vcpu_fd >= 0, KVM_IOCTL_ERROR(KVM_CREATE_VCPU, vcpu_fd)); in aarch64_get_supported_page_sizes() 515 err = ioctl(vcpu_fd, KVM_ARM_VCPU_INIT, &preferred_init); in aarch64_get_supported_page_sizes() 518 err = ioctl(vcpu_fd, KVM_GET_ONE_REG, ®); in aarch64_get_supported_page_sizes() 519 TEST_ASSERT(err == 0, KVM_IOCTL_ERROR(KVM_GET_ONE_REG, vcpu_fd)); in aarch64_get_supported_page_sizes() 525 close(vcpu_fd); in aarch64_get_supported_page_sizes()
|