Searched defs:hax (Results 1 - 5 of 5) sorted by relevance
/external/qemu/target-i386/ |
H A D | hax-darwin.h | 28 static inline void hax_mod_close(struct hax_state *hax) argument 30 close(hax->fd); 79 /* Setup HAX tunnel, see structure hax_tunnel comments in hax-interface.h */
|
H A D | hax-windows.h | 27 static inline void hax_mod_close(struct hax_state *hax) argument 29 CloseHandle(hax->fd); 45 /* See comments for the ioctl in hax-darwin.h */
|
H A D | hax-darwin.c | 21 #include "target-i386/hax-i386.h" 28 dprint("Failed to open the hax module\n"); 88 int hax_capability(struct hax_state *hax, struct hax_capabilityinfo *cap) argument 92 ret = ioctl(hax->fd, HAX_IOCTL_CAPABILITY, cap); 102 int hax_mod_version(struct hax_state *hax, struct hax_module_version *version) argument 106 ret = ioctl(hax->fd, HAX_IOCTL_VERSION, version); 153 int hax_host_create_vm(struct hax_state *hax, int *vmid) argument 158 if (hax_invalid_fd(hax->fd)) 161 if (hax->vm) 164 ret = ioctl(hax 169 hax_host_open_vm(struct hax_state *hax, int vm_id) argument [all...] |
H A D | hax-windows.c | 14 #include "target-i386/hax-i386.h" 139 int hax_capability(struct hax_state *hax, struct hax_capabilityinfo *cap) argument 142 HANDLE hDevice = hax->fd; //handle to hax module 147 dprint("Invalid fd for hax device!\n"); 162 dprint("hax capability is too long to hold.\n"); 169 int hax_mod_version(struct hax_state *hax, struct hax_module_version *version) argument 172 HANDLE hDevice = hax->fd; //handle to hax module 177 dprint("Invalid fd for hax devic 234 hax_host_create_vm(struct hax_state *hax, int *vmid) argument 260 hax_host_open_vm(struct hax_state *hax, int vm_id) argument [all...] |
H A D | hax-all.c | 20 #include "target-i386/hax-i386.h" 54 /* Sync the vcpu state from hax kernel module */ 129 static int hax_get_capability(struct hax_state *hax) argument 134 ret = hax_capability(hax, cap); 150 if (cap->mem_quota < hax->mem_quota) 160 static int hax_version_support(struct hax_state *hax) argument 165 ret = hax_mod_version(hax, &version); 278 struct hax_vm *hax_vm_create(struct hax_state *hax) argument 284 if (hax_invalid_fd(hax->fd)) 287 if (hax 334 struct hax_state *hax = &hax_global; local 344 struct hax_state *hax = NULL; local [all...] |
Completed in 56 milliseconds