aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/Rules.mk
diff options
context:
space:
mode:
authorKeir Fraser <keir@xensource.com>2007-11-24 13:23:22 +0000
committerKeir Fraser <keir@xensource.com>2007-11-24 13:23:22 +0000
commit07847be65054dd6f7ae53bfeed52739e1bd7e3b6 (patch)
tree57809ce829e6f490eb39abe3750568f3b4f179b9 /xen/arch/x86/Rules.mk
parent36cb94956ae4cd534327c0118dc690d7b269727a (diff)
downloadxen-07847be65054dd6f7ae53bfeed52739e1bd7e3b6.tar.gz
xen-07847be65054dd6f7ae53bfeed52739e1bd7e3b6.tar.bz2
xen-07847be65054dd6f7ae53bfeed52739e1bd7e3b6.zip
x86, hvm: Config option to allow vmxassist to be disabled.
hvmloader is modified to dynamically detect this, allowing possibility of optional full vmxassist replacement in 3.2 stable branch in future. Currently 'vmxassist=y' is not much use since no replacement is implemented. Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/arch/x86/Rules.mk')
-rw-r--r--xen/arch/x86/Rules.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/xen/arch/x86/Rules.mk b/xen/arch/x86/Rules.mk
index cbc2f1dadc..1925c2f1b9 100644
--- a/xen/arch/x86/Rules.mk
+++ b/xen/arch/x86/Rules.mk
@@ -11,6 +11,11 @@ xenoprof := y
#
pae ?= n
supervisor_mode_kernel ?= n
+vmxassist ?= y
+
+ifeq ($(vmxassist),y)
+CFLAGS += -DVMXASSIST
+endif
# Solaris grabs stdarg.h and friends from the system include directory.
ifneq ($(XEN_OS),SunOS)