HomeSort by relevance Sort by last modified time
    Searched refs:hax (Results 1 - 7 of 7) sorted by null

  /external/qemu/target-i386/
hax-i386.h 18 #include "exec/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-interface.h
    [all...]
hax-darwin.c 14 /* HAX module interface - darwin version */
21 #include "target-i386/hax-i386.h"
24 int fd = open("/dev/HAX", O_RDWR);
28 dprint("Failed to open the hax module\n");
88 int hax_capability(struct hax_state *hax, struct hax_capabilityinfo *cap)
92 ret = ioctl(hax->fd, HAX_IOCTL_CAPABILITY, cap);
95 dprint("Failed to get HAX capability\n");
102 int hax_mod_version(struct hax_state *hax, struct hax_module_version *version)
106 ret = ioctl(hax->fd, HAX_IOCTL_VERSION, version);
109 dprint("Failed to get HAX version\n")
    [all...]
hax-darwin.h 28 static inline void hax_mod_close(struct hax_state *hax)
30 close(hax->fd);
38 /* HAX model level ioctl */
39 /* Get API version the HAX driver supports */
53 * 3. HAX driver populate physical memory for the virtual address range, and
55 * 4. HAX driver map the populated physical memory into kernel address space
72 /* Sync QEMU's guest MSR value to HAX driver */
74 /* Sync HAX driver's guest MSR value to QEMU */
79 /* Setup HAX tunnel, see structure hax_tunnel comments in hax-interface.h *
    [all...]
hax-all.c 15 * HAX common code for both Windows and Darwin
20 #include "target-i386/hax-i386.h"
54 /* Sync the vcpu state from hax kernel module */
90 * Sync the vcpu state to HAX kernel module
126 /* Least HAX kernel version */
129 static int hax_get_capability(struct hax_state *hax)
134 ret = hax_capability(hax, cap);
150 if (cap->mem_quota < hax->mem_quota)
160 static int hax_version_support(struct hax_state *hax)
165 ret = hax_mod_version(hax, &version)
334 struct hax_state *hax = &hax_global; local
344 struct hax_state *hax = NULL; local
    [all...]
hax-windows.c 14 #include "target-i386/hax-i386.h"
28 hDevice = CreateFile( "\\\\.\\HAX",
38 dprint("Failed to open the HAX device!\n");
57 dprint("Open HAX device failed\n");
90 dprint("HAX: Failed to allocate %x memory (address %llx)\n",
139 int hax_capability(struct hax_state *hax, struct hax_capabilityinfo *cap)
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")
    [all...]
hax-windows.h 27 static inline void hax_mod_close(struct hax_state *hax)
29 CloseHandle(hax->fd);
45 /* See comments for the ioctl in hax-darwin.h */
  /external/qemu/android/emulation/
CpuAccelerator.cpp 39 // related to KVM or HAX.
135 // Version numbers for the HAX kernel module.
147 ///// Windows HAX support.
156 // Windows IOCTL code to extract HAX kernel module version.
166 // 1) Try to find the HAX kernel module.
167 ScopedHandle hax(CreateFile("\\\\.\\HAX",
174 if (!hax.valid()) {
177 status->assign("HAX kernel module is not installed!");
180 "Opening HAX kernel module failed: %u"
    [all...]

Completed in 34 milliseconds