diff --git a/core/java/src/freenet/support/CPUInformation/IntelInfoImpl.java b/core/java/src/freenet/support/CPUInformation/IntelInfoImpl.java index a504c30567ea1efad4dee44787494161962ef3c9..e1799659d7a0ef602310a2ac2a98626245fa9191 100644 --- a/core/java/src/freenet/support/CPUInformation/IntelInfoImpl.java +++ b/core/java/src/freenet/support/CPUInformation/IntelInfoImpl.java @@ -166,17 +166,25 @@ class IntelInfoImpl extends CPUIDCPUInfo implements IntelCPUInfo case 1: modelString = "Pentium Pro"; break; - // Nehalem 45 nm - // As reported; can't find in any CPUID charts - case 2: - isPentium2Compatible = true; - isPentium3Compatible = true; - isPentiumMCompatible = true; - isCore2Compatible = true; - isCoreiCompatible = true; - isX64 = true; - modelString = "Core i7 (45nm)"; - break; + // Spoofed Nehalem by qemu-kvm + // Not in any CPUID charts + // KVM bug? + // # cat /usr/share/kvm/cpus-x86_64.conf | grep 'name = "Nehalem"' -B 1 -A 12 + // [cpudef] + // name = "Nehalem" + // level = "2" + // vendor = "GenuineIntel" + // family = "6" + // model = "2" + // stepping = "3" + // feature_edx = "sse2 sse fxsr mmx clflush pse36 pat cmov mca pge mtrr sep apic cx8 mce pae msr tsc pse de fpu" + // feature_ecx = "popcnt sse4.2 sse4.1 cx16 ssse3 sse3" + // extfeature_edx = "i64 syscall xd" + // extfeature_ecx = "lahf_lm" + // xlevel = "0x8000000A" + // model_id = "Intel Core i7 9xx (Nehalem Class Core i7)" + //case 2: + // ... case 3: isPentium2Compatible = true; modelString = "Pentium II (Klamath)";