Searched refs:vcpu_fd (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/tools/testing/selftests/kvm/lib/aarch64/ |
D | processor.c | 467 int kvm_fd, vm_fd, vcpu_fd, err; in aarch64_get_supported_page_sizes() local 478 vcpu_fd = ioctl(vm_fd, KVM_CREATE_VCPU, 0); in aarch64_get_supported_page_sizes() 479 TEST_ASSERT(vcpu_fd >= 0, KVM_IOCTL_ERROR(KVM_CREATE_VCPU, vcpu_fd)); in aarch64_get_supported_page_sizes() 483 err = ioctl(vcpu_fd, KVM_ARM_VCPU_INIT, &preferred_init); in aarch64_get_supported_page_sizes() 486 err = ioctl(vcpu_fd, KVM_GET_ONE_REG, ®); in aarch64_get_supported_page_sizes() 487 TEST_ASSERT(err == 0, KVM_IOCTL_ERROR(KVM_GET_ONE_REG, vcpu_fd)); in aarch64_get_supported_page_sizes() 493 close(vcpu_fd); in aarch64_get_supported_page_sizes()
|