Browse Source
Support QEMU virtual cpu as CORE2
qemu itself claims it is a 64bit P6, which does not exist in the wild.
tags/v0.3.8^2
Martin Kroeker
GitHub
6 years ago
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
0 deletions
-
cpuid_x86.c
|
|
@@ -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: |
|
|
|