Home
last modified time | relevance | path

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

/external/qemu/
Dkvm-android.c23 char* kvm_device = getenv(KVM_DEVICE_NAME_ENV); in kvm_check_allowed() local
24 if (NULL == kvm_device) { in kvm_check_allowed()
25 kvm_device = "/dev/kvm"; in kvm_check_allowed()
28 if (access(kvm_device,F_OK)) { in kvm_check_allowed()
35 if (access(kvm_device,R_OK)) { in kvm_check_allowed()
Dkvm-all.c446 char* kvm_device = getenv(KVM_DEVICE_NAME_ENV); in kvm_init() local
447 if (NULL == kvm_device) { in kvm_init()
448 kvm_device = "/dev/kvm"; in kvm_init()
452 s->fd = open(kvm_device, O_RDWR); in kvm_init()