From e4a3c7801e0075a49674c79972394ad962b338f2 Mon Sep 17 00:00:00 2001 From: Jun Nakajima Date: Sat, 17 Dec 2011 19:22:12 -0800 Subject: 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 Signed-off-by: Xin, Xiaohui Signed-off-by: Jiang Yunhong Signed-off-by: Nakajima, Jun --- Makefile.target | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'Makefile.target') 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 -- cgit v1.1