Home
last modified time | relevance | path

Searched refs:vm_id (Results 1 – 7 of 7) sorted by relevance

/external/qemu/target-i386/
Dhax-darwin.c116 static char *hax_vm_devfs_string(int vm_id) in hax_vm_devfs_string() argument
120 if (vm_id > MAX_VM_ID) in hax_vm_devfs_string()
129 sprintf(name, "/dev/hax_vm/vm%02d", vm_id); in hax_vm_devfs_string()
134 static char *hax_vcpu_devfs_string(int vm_id, int vcpu_id) in hax_vcpu_devfs_string() argument
138 if (vm_id > MAX_VM_ID || vcpu_id > MAX_VCPU_ID) in hax_vcpu_devfs_string()
140 dprint("Too big vm id %x or vcpu id %x\n", vm_id, vcpu_id); in hax_vcpu_devfs_string()
148 sprintf(name, "/dev/hax_vm%02d/vcpu%02d", vm_id, vcpu_id); in hax_vcpu_devfs_string()
156 int vm_id = 0; in hax_host_create_vm() local
164 ret = ioctl(hax->fd, HAX_IOCTL_CREATE_VM, &vm_id); in hax_host_create_vm()
165 *vmid = vm_id; in hax_host_create_vm()
[all …]
Dhax-windows.c199 static char *hax_vm_devfs_string(int vm_id) in hax_vm_devfs_string() argument
203 if (vm_id > MAX_VM_ID) in hax_vm_devfs_string()
212 sprintf(name, "\\\\.\\hax_vm%02d", vm_id); in hax_vm_devfs_string()
217 static char *hax_vcpu_devfs_string(int vm_id, int vcpu_id) in hax_vcpu_devfs_string() argument
221 if (vm_id > MAX_VM_ID || vcpu_id > MAX_VCPU_ID) in hax_vcpu_devfs_string()
223 dprint("Too big vm id %x or vcpu id %x\n", vm_id, vcpu_id); in hax_vcpu_devfs_string()
229 sprintf(name, "\\\\.\\hax_vm%02d_vcpu%02d", vm_id, vcpu_id); in hax_vcpu_devfs_string()
237 int vm_id = 0; in hax_host_create_vm() local
249 &vm_id, sizeof(vm_id), in hax_host_create_vm()
256 *vmid = vm_id; in hax_host_create_vm()
[all …]
Dhax-i386.h75 int hax_host_create_vm(struct hax_state *hax, int *vm_id);
76 hax_fd hax_host_open_vm(struct hax_state *hax, int vm_id);
Dhax-all.c281 int vm_id = 0, ret; in hax_vm_create() local
294 ret = hax_host_create_vm(hax, &vm_id); in hax_vm_create()
299 vm->id = vm_id; in hax_vm_create()
300 vm->fd = hax_host_open_vm(hax, vm_id); in hax_vm_create()
/external/chromium_org/third_party/mesa/src/src/gallium/winsys/radeon/drm/
Dradeon_drm_bo.c84 uint32_t vm_id; member
588 va.vm_id = 0; in radeon_bomgr_create_bo()
916 va.vm_id = 0; in radeon_winsys_bo_from_handle()
/external/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_bo.c84 uint32_t vm_id; member
588 va.vm_id = 0; in radeon_bomgr_create_bo()
916 va.vm_id = 0; in radeon_winsys_bo_from_handle()
/external/kernel-headers/original/uapi/drm/
Dradeon_drm.h903 uint32_t vm_id; member