From patchwork Thu Dec 24 14:14:33 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Intel CPUs starting from pentium have apic Date: Thu, 24 Dec 2009 04:14:33 -0000 From: Gleb Natapov X-Patchwork-Id: 41778 Message-Id: <20091224141433.GB5691@redhat.com> To: qemu-devel@nongnu.org Intel CPUs starting from pentium have apic. Lets advertise it. Signed-off-by: Gleb Natapov --- Gleb. diff --git a/target-i386/helper.c b/target-i386/helper.c index 730e396..c39a993 100644 --- a/target-i386/helper.c +++ b/target-i386/helper.c @@ -106,7 +106,7 @@ typedef struct x86_def_t { #define I486_FEATURES (CPUID_FP87 | CPUID_VME | CPUID_PSE) #define PENTIUM_FEATURES (I486_FEATURES | CPUID_DE | CPUID_TSC | \ - CPUID_MSR | CPUID_MCE | CPUID_CX8 | CPUID_MMX) + CPUID_MSR | CPUID_MCE | CPUID_CX8 | CPUID_MMX | CPUID_APIC) #define PENTIUM2_FEATURES (PENTIUM_FEATURES | CPUID_PAE | CPUID_SEP | \ CPUID_MTRR | CPUID_PGE | CPUID_MCA | CPUID_CMOV | CPUID_PAT | \ CPUID_PSE36 | CPUID_FXSR)