introduce set_rate_limit function for QEMUFile
[qemu/stefanha.git] / hw / xen.h
blob3c8da4105d6b471c83eea592ded7b4eac31e4b7b
1 #ifndef QEMU_HW_XEN_H
2 #define QEMU_HW_XEN_H 1
3 /*
4 * public xen header
5 * stuff needed outside xen-*.c, i.e. interfaces to qemu.
6 * must not depend on any xen headers being present in
7 * /usr/include/xen, so it can be included unconditionally.
8 */
10 /* xen-machine.c */
11 enum xen_mode {
12 XEN_EMULATE = 0, // xen emulation, using xenner (default)
13 XEN_CREATE, // create xen domain
14 XEN_ATTACH // attach to xen domain created by xend
17 extern uint32_t xen_domid;
18 extern enum xen_mode xen_mode;
20 #endif /* QEMU_HW_XEN_H */