HomeSort by relevance Sort by last modified time
    Searched defs:vm_id (Results 1 - 3 of 3) sorted by null

  /external/qemu/target-i386/
hax-darwin.c 116 static char *hax_vm_devfs_string(int vm_id)
120 if (vm_id > MAX_VM_ID)
129 sprintf(name, "/dev/hax_vm/vm%02d", vm_id);
134 static char *hax_vcpu_devfs_string(int vm_id, int vcpu_id)
138 if (vm_id > MAX_VM_ID || vcpu_id > MAX_VCPU_ID)
140 dprint("Too big vm id %x or vcpu id %x\n", vm_id, vcpu_id);
148 sprintf(name, "/dev/hax_vm%02d/vcpu%02d", vm_id, vcpu_id);
156 int vm_id = 0; local
164 ret = ioctl(hax->fd, HAX_IOCTL_CREATE_VM, &vm_id);
165 *vmid = vm_id;
    [all...]
hax-windows.c 196 static char *hax_vm_devfs_string(int vm_id)
200 if (vm_id > MAX_VM_ID)
209 sprintf(name, "\\\\.\\hax_vm%02d", vm_id);
214 static char *hax_vcpu_devfs_string(int vm_id, int vcpu_id)
218 if (vm_id > MAX_VM_ID || vcpu_id > MAX_VCPU_ID)
220 dprint("Too big vm id %x or vcpu id %x\n", vm_id, vcpu_id);
226 sprintf(name, "\\\\.\\hax_vm%02d_vcpu%02d", vm_id, vcpu_id);
234 int vm_id = 0; local
246 &vm_id, sizeof(vm_id),
    [all...]
hax-all.c 279 int vm_id = 0, ret; local
292 ret = hax_host_create_vm(hax, &vm_id);
297 vm->id = vm_id;
298 vm->fd = hax_host_open_vm(hax, vm_id);

Completed in 22 milliseconds