]> git.proxmox.com Git - mirror_qemu.git/commitdiff
CLFLUSH cpuid fix (aka Linux 2.6 hang on x86_64)
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 15 Aug 2005 16:33:12 +0000 (16:33 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Mon, 15 Aug 2005 16:33:12 +0000 (16:33 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1539 c046a42c-6fe2-441c-8c8c-71466251a162

target-i386/helper.c

index 01b663f3819bc2e0eacc834a5a1839e5ed26abd7..fd044304619c0a154e3fbadac2c956f83d83af2d 100644 (file)
@@ -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;