Searched refs:hax (Results 1 - 6 of 6) sorted by relevance
/external/qemu/target-i386/ |
H A D | hax-i386.h | 18 #include "hax.h" 40 hax_fd fd; /* the global hax device interface */ 62 int hax_mod_version(struct hax_state *hax, struct hax_module_version *version); 64 struct hax_vm *hax_vm_create(struct hax_state *hax); 71 int hax_capability(struct hax_state *hax, struct hax_capabilityinfo *cap); 75 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); 84 #include "target-i386/hax-darwin.h" 88 #include "target-i386/hax-windows.h" 91 #include "target-i386/hax [all...] |
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-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-all.c | 19 #include "target-i386/hax-i386.h" 52 /* Sync the vcpu state from hax kernel module */ 127 static int hax_get_capability(struct hax_state *hax) argument 132 ret = hax_capability(hax, cap); 148 if (cap->mem_quota < hax->mem_quota) 158 static int hax_version_support(struct hax_state *hax) argument 163 ret = hax_mod_version(hax, &version); 276 struct hax_vm *hax_vm_create(struct hax_state *hax) argument 282 if (hax_invalid_fd(hax->fd)) 285 if (hax 332 struct hax_state *hax = &hax_global; local 342 struct hax_state *hax = NULL; local [all...] |
H A D | hax-windows.c | 14 #include "target-i386/hax-i386.h" 136 int hax_capability(struct hax_state *hax, struct hax_capabilityinfo *cap) argument 139 HANDLE hDevice = hax->fd; //handle to hax module 144 dprint("Invalid fd for hax device!\n"); 159 dprint("hax capability is too long to hold.\n"); 166 int hax_mod_version(struct hax_state *hax, struct hax_module_version *version) argument 169 HANDLE hDevice = hax->fd; //handle to hax module 174 dprint("Invalid fd for hax devic 231 hax_host_create_vm(struct hax_state *hax, int *vmid) argument 257 hax_host_open_vm(struct hax_state *hax, int vm_id) argument [all...] |
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 */
|
Completed in 98 milliseconds