Searched refs:kvm_device (Results 1 – 2 of 2) sorted by relevance
23 char* kvm_device = getenv(KVM_DEVICE_NAME_ENV); in kvm_check_allowed() local24 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()
446 char* kvm_device = getenv(KVM_DEVICE_NAME_ENV); in kvm_init() local447 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()