Support QEMU virtual cpu as CORE2

qemu itself claims it is a 64bit P6, which does not exist in the wild.
This commit is contained in:
Martin Kroeker
2019-10-08 22:30:02 +02:00
committed by GitHub
parent 17609f88f1
commit f262031685

View File

@@ -1197,7 +1197,11 @@ int get_cpuname(void){
case 3: case 3:
case 5: case 5:
case 6: case 6:
#ifdef __64BIT__
return CPUTYPE_CORE2;
#else
return CPUTYPE_PENTIUM2; return CPUTYPE_PENTIUM2;
#endif
case 7: case 7:
case 8: case 8:
case 10: case 10: