aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.target
diff options
context:
space:
mode:
authorJun Nakajima <jun.nakajima@intel.com>2011-12-17 19:22:12 -0800
committerJiang, Yunhong <yunhong.jiang@intel.com>2012-01-17 06:15:11 +0800
commite4a3c7801e0075a49674c79972394ad962b338f2 (patch)
treec8f2463b26574e3b07cd1d5fa1b02820575d34e1 /Makefile.target
parenta381ef07088ce479610129e37bfef42538f397da (diff)
downloadexternal_qemu-e4a3c7801e0075a49674c79972394ad962b338f2.zip
external_qemu-e4a3c7801e0075a49674c79972394ad962b338f2.tar.gz
external_qemu-e4a3c7801e0075a49674c79972394ad962b338f2.tar.bz2
New files to add HAX support
QEMU emulator interacts with the HAX kernel module. A HAX (Hardware-based Accelerated eXecution) kernel module is required to use HAX support. Most guest instructions run in VMX non-root (i.e. in hardware) mode and achieve near-native (relative to the host) performance. QEMU still emulates PIO/MMIO instructions and non-PG (paging) mode operations. HAX is supported only on Mac OS X and Windows hosts when Intel VT is present. Change-Id: I8dd52a35e315437dc568f555742bb8ab7e9d8ab2 Signed-off-by: Zhang, Xiantao <xiantao.zhang@intel.com> Signed-off-by: Xin, Xiaohui <xiaohui.xin@intel.com> Signed-off-by: Jiang Yunhong <yunhong.jiang@intel.com> Signed-off-by: Nakajima, Jun <jun.nakajima@intel.com>
Diffstat (limited to 'Makefile.target')
-rw-r--r--Makefile.target12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile.target b/Makefile.target
index 07940bb..e1c4e28 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -176,6 +176,18 @@ LOCAL_SRC_FILES += \
target-i386/translate.c \
target-i386/machine.c \
+ifeq ($(HOST_OS),darwin)
+LOCAL_SRC_FILES += \
+ target-i386/hax-all.c \
+ target-i386/hax-darwin.c
+endif
+
+ifeq ($(HOST_OS),windows)
+LOCAL_SRC_FILES += \
+ target-i386/hax-all.c \
+ target-i386/hax-windows.c
+endif
+
LOCAL_SRC_FILES += fpu/softfloat-native.c
endif