From: bellard Date: Mon, 15 Aug 2005 16:33:12 +0000 (+0000) Subject: CLFLUSH cpuid fix (aka Linux 2.6 hang on x86_64) X-Git-Tag: release_0_8_1~359 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1f3358c87d50a6f10aea4d22a38fbe421f5e3873;p=thirdparty%2Fqemu.git CLFLUSH cpuid fix (aka Linux 2.6 hang on x86_64) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1539 c046a42c-6fe2-441c-8c8c-71466251a162 --- diff --git a/target-i386/helper.c b/target-i386/helper.c index 01b663f3819..fd044304619 100644 --- a/target-i386/helper.c +++ b/target-i386/helper.c @@ -1307,7 +1307,7 @@ void helper_cpuid(void) break; case 1: EAX = env->cpuid_version; - EBX = 0; + EBX = 8 << 8; /* CLFLUSH size in quad words, Linux wants it. */ ECX = env->cpuid_ext_features; EDX = env->cpuid_features; break;