From bb0140b925cb2adce03ebc0885067ea3bfd19a20 Mon Sep 17 00:00:00 2001 From: Jun Nakajima Date: Fri, 27 May 2011 18:24:21 -0700 Subject: x86: Workaorund for the KVM GS_BASE MSR save/restore issue. In some versions of the kvm module in Ubuntu, the host's GS_BASE MSR is not save/restored correctly when running guests on 64-bit hosts if the qemu/emulator is 32-bit. This patch implements a workaround in the emulator code. Change-Id: If3ebe3cb49f377c5d0547c75f6ac3a3ceacdc375 Signed-off-by: Yunhong Jiang Signed-off-by: Jun Nakajima --- android/config/linux-x86/config-host.h | 1 + 1 file changed, 1 insertion(+) (limited to 'android/config') diff --git a/android/config/linux-x86/config-host.h b/android/config/linux-x86/config-host.h index 2dba514..8cc2487 100644 --- a/android/config/linux-x86/config-host.h +++ b/android/config/linux-x86/config-host.h @@ -12,6 +12,7 @@ #define QEMU_VERSION "0.10.50" #define QEMU_PKGVERSION "Android" #define HOST_I386 1 +#define CONFIG_KVM_GS_RESTORE 1 #define CONFIG_IOVEC 1 #define CONFIG_LINUX 1 #define CONFIG_ANDROID 1 -- cgit v1.1