forked from I2P_Developers/i2p.i2p
CPUID: Remove Intel model 2 again, this is spoofed in the VM
This commit is contained in:
@ -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)";
|
||||
|
Reference in New Issue
Block a user