Go to the documentation of this file.
13 #define xen_domain_type XEN_NATIVE
16 #define xen_domain() (xen_domain_type != XEN_NATIVE)
17 #define xen_pv_domain() (xen_domain() && \
18 xen_domain_type == XEN_PV_DOMAIN)
19 #define xen_hvm_domain() (xen_domain() && \
20 xen_domain_type == XEN_HVM_DOMAIN)
22 #ifdef CONFIG_XEN_DOM0
24 #include <asm/xen/hypervisor.h>
26 #define xen_initial_domain() (xen_domain() && \
27 xen_start_info && xen_start_info->flags & SIF_INITDOMAIN)
29 #define xen_initial_domain() (0)