OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:hax
(Results
1 - 6
of
6
) sorted by null
/external/qemu/target-i386/
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
-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
19
#include "target-i386/
hax
-i386.h"
52
/* Sync the vcpu state from
hax
kernel module */
88
* Sync the vcpu state to
HAX
kernel module
124
/* Least
HAX
kernel version */
127
static int hax_get_capability(struct hax_state *
hax
)
132
ret = hax_capability(
hax
, cap);
148
if (cap->mem_quota <
hax
->mem_quota)
158
static int hax_version_support(struct hax_state *
hax
)
163
ret = hax_mod_version(
hax
, &version)
332
struct
hax
_state *
hax
= &
hax
_global;
local
342
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");
136
int hax_capability(struct hax_state *
hax
, struct hax_capabilityinfo *cap)
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");
160
dprint("Failed to get
Hax
capability:%d\n", err)
[
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 */
Completed in 513 milliseconds