root / hw / xen.h @ d9f75a4e
History | View | Annotate | Download (548 Bytes)
1 | e37630ca | aliguori | #ifndef QEMU_HW_XEN_H
|
---|---|---|---|
2 | e37630ca | aliguori | #define QEMU_HW_XEN_H 1 |
3 | e37630ca | aliguori | /*
|
4 | e37630ca | aliguori | * public xen header
|
5 | e37630ca | aliguori | * stuff needed outside xen-*.c, i.e. interfaces to qemu.
|
6 | e37630ca | aliguori | * must not depend on any xen headers being present in
|
7 | e37630ca | aliguori | * /usr/include/xen, so it can be included unconditionally.
|
8 | e37630ca | aliguori | */
|
9 | e37630ca | aliguori | |
10 | e37630ca | aliguori | /* xen-machine.c */
|
11 | e37630ca | aliguori | enum xen_mode {
|
12 | e37630ca | aliguori | XEN_EMULATE = 0, // xen emulation, using xenner (default) |
13 | e37630ca | aliguori | XEN_CREATE, // create xen domain
|
14 | e37630ca | aliguori | XEN_ATTACH // attach to xen domain created by xend
|
15 | e37630ca | aliguori | }; |
16 | e37630ca | aliguori | |
17 | e37630ca | aliguori | extern uint32_t xen_domid;
|
18 | e37630ca | aliguori | extern enum xen_mode xen_mode; |
19 | e37630ca | aliguori | |
20 | e37630ca | aliguori | #endif /* QEMU_HW_XEN_H */ |