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:
parent
17609f88f1
commit
f262031685
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue