source "arch/Kconfig"
+config SHADOW_PAGING
+ bool "Shadow Paging"
+ default y
+ ---help---
+
+ Shadow paging is a software alternative to hardware paging support
+ (Intel EPT, AMD NPT).
+
+ It is required for:
+ * Running HVM guests on hardware lacking hardware paging support
+ (First-generation Intel VT-x or AMD SVM).
+ * Live migration of PV guests.
+
+ Under a small number of specific workloads, shadow paging may be
+ deliberately used as a performance optimisation.
+
+ If unsure, say Y.
+
config BIGMEM
bool "big memory support"
default n
-U__OBJECT_LABEL__ -DHAVE_GAS_QUOTED_SYM \
'-D__OBJECT_LABEL__=$(subst $(BASEDIR)/,,$(CURDIR))/$$@')
-shadow-paging ?= y
-
CFLAGS += -mno-red-zone -mno-sse -fpic
CFLAGS += -fno-asynchronous-unwind-tables
# -fvisibility=hidden reduces -fpic cost, if it's available
ifneq ($(call cc-option,$(CC),-fvisibility=hidden,n),n)
CFLAGS += -DGCC_HAS_VISIBILITY_ATTRIBUTE
endif
-
-CFLAGS-$(shadow-paging) += -DCONFIG_SHADOW_PAGING