Home
last modified time | relevance | path

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

/external/crosvm/kvm_sys/tests/
Dbasic.rs38 let has_user_memory = unsafe { ioctl(sys_fd, KVM_CHECK_EXTENSION(), KVM_CAP_USER_MEMORY) }; in check_vm_extension()
/external/crosvm/hypervisor/src/kvm/
Daarch64.rs67 ioctl_with_val(self, KVM_CHECK_EXTENSION(), KVM_CAP_ARM_VM_IPA_SIZE.into()) in get_vm_type()
85 match unsafe { ioctl_with_val(self, KVM_CHECK_EXTENSION(), KVM_CAP_ARM_VM_IPA_SIZE.into()) } in get_guest_phys_addr_bits()
565 unsafe { ioctl_with_val(&self.vm, KVM_CHECK_EXTENSION(), ext.into()) == 1 } in init()
695 KVM_CHECK_EXTENSION(), in get_max_hw_bps()
Dx86_64.rs265 match unsafe { ioctl_with_val(self, KVM_CHECK_EXTENSION(), KVM_CAP_IOAPIC_NUM_PINS as u64) } in get_ioapic_num_pins()
693 unsafe { ioctl_with_val(&self.vm, KVM_CHECK_EXTENSION(), KVM_CAP_XSAVE2 as u64) }; in get_xsave()
721 unsafe { ioctl_with_val(&self.vm, KVM_CHECK_EXTENSION(), KVM_CAP_XSAVE2 as u64) }; in set_xsave()
Dmod.rs208 unsafe { ioctl_with_val(self, KVM_CHECK_EXTENSION(), kvm_cap as c_ulong) == 1 } in check_capability()
468 let ret = unsafe { ioctl_with_val(self, KVM_CHECK_EXTENSION(), capability as c_ulong) }; in check_raw_capability()
/external/crosvm/kvm_sys/src/
Dlib.rs81 ioctl_io_nr!(KVM_CHECK_EXTENSION, KVMIO, 0x03);
/external/ltp/testcases/kernel/kvm/
Dlib_host.c157 if (!SAFE_IOCTL(sysfd, KVM_CHECK_EXTENSION, KVM_CAP_EXT_CPUID)) in tst_kvm_get_cpuid()
/external/strace/
Dkvm.c416 case KVM_CHECK_EXTENSION: in kvm_ioctl()
DNEWS5 * Implemented decoding of KVM_CHECK_EXTENSION and NBD_* ioctl commands.
DChangeLog765 kvm: decode the argument of KVM_CHECK_EXTENSION.
777 of KVM_CHECK_EXTENSION command.
/external/strace/tests-mx32/
Dioctl_kvm_run_common.c309 ret = KVM_IOCTL(kvm, KVM_CHECK_EXTENSION, in main()
/external/strace/tests-m32/
Dioctl_kvm_run_common.c309 ret = KVM_IOCTL(kvm, KVM_CHECK_EXTENSION, in main()
/external/strace/tests/
Dioctl_kvm_run_common.c309 ret = KVM_IOCTL(kvm, KVM_CHECK_EXTENSION, in main()
/external/crosvm/kvm/src/
Dlib.rs167 unsafe { ioctl_with_val(self, KVM_CHECK_EXTENSION(), c as c_ulong) } in check_extension_int()
264 match unsafe { ioctl_with_val(self, KVM_CHECK_EXTENSION(), KVM_CAP_ARM_VM_IPA_SIZE.into()) } in get_vm_type()
394 unsafe { ioctl_with_val(self, KVM_CHECK_EXTENSION(), c as c_ulong) == 1 } in check_extension()
/external/linux-kselftest/tools/testing/selftests/kvm/lib/
Dkvm_util.c79 ret = ioctl(kvm_fd, KVM_CHECK_EXTENSION, cap); in kvm_check_cap()
108 ret = ioctl(vm->fd, KVM_CHECK_EXTENSION, cap); in vm_check_cap()
/external/kernel-headers/original/uapi/linux/
Dkvm.h921 #define KVM_CHECK_EXTENSION _IO(KVMIO, 0x03) macro