1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
#ifndef XEN_CONFIG_HOST_H
#define XEN_CONFIG_HOST_H
#ifdef CONFIG_STUBDOM
#undef CONFIG_AIO
#define NO_UNIX_SOCKETS 1
#define NO_BLUETOOTH_PASSTHROUGH 1
#endif
#define CONFIG_DM
#define CONFIG_XEN
extern char domain_name[64];
extern int domid, domid_backend;
#include <errno.h>
#include <stdbool.h>
#include "xenctrl.h"
#include "xs.h"
#ifndef CONFIG_STUBDOM
#include "blktaplib.h"
#endif
#define BIOS_SIZE ((256 + 64) * 1024)
#undef CONFIG_GDBSTUB
void main_loop_prepare(void);
extern int xc_handle;
extern int xen_pause_requested;
extern int vcpus;
extern uint32_t vcpu_avail[];
#ifdef CONFIG_STUBDOM
#define bdrv_host_device bdrv_raw
#endif
struct CharDriverState;
void xenstore_store_serial_port_info(int i, struct CharDriverState *chr,
const char *devname);
extern unsigned int xen_logdirty_enable;
#ifdef CONFIG_STUBDOM
#undef HAVE_IOVEC
#endif
#endif /*XEN_CONFIG_HOST_H*/
|