aboutsummaryrefslogtreecommitdiffstats
path: root/xen/Rules.mk
diff options
context:
space:
mode:
Diffstat (limited to 'xen/Rules.mk')
-rw-r--r--xen/Rules.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/xen/Rules.mk b/xen/Rules.mk
index 5601e45191..3f141c33bc 100644
--- a/xen/Rules.mk
+++ b/xen/Rules.mk
@@ -9,6 +9,9 @@ perfc_arrays ?= n
crash_debug ?= n
frame_pointer ?= n
+# Allow some delicate passthrough related hypercalls to be made from a stubdom
+privileged_stubdoms ?= y
+
XEN_ROOT=$(BASEDIR)/..
include $(XEN_ROOT)/Config.mk
@@ -58,6 +61,10 @@ ifneq ($(max_phys_irqs),)
CFLAGS-y += -DMAX_PHYS_IRQS=$(max_phys_irqs)
endif
+ifeq ($(privileged_stubdoms),y)
+CFLAGS += -DPRIVILEGED_STUBDOMS
+endif
+
AFLAGS-y += -D__ASSEMBLY__
ALL_OBJS := $(ALL_OBJS-y)