From 1f3358c87d50a6f10aea4d22a38fbe421f5e3873 Mon Sep 17 00:00:00 2001 From: bellard Date: Mon, 15 Aug 2005 16:33:12 +0000 Subject: 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 --- target-i386/helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target-i386') diff --git a/target-i386/helper.c b/target-i386/helper.c index 01b663f..fd04430 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; -- cgit v1.1