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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

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