From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45651) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xyf6S-0003Tw-VB for qemu-devel@nongnu.org; Wed, 10 Dec 2014 06:06:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xyf6O-000549-0O for qemu-devel@nongnu.org; Wed, 10 Dec 2014 06:06:44 -0500 Received: from mail-wg0-x22c.google.com ([2a00:1450:400c:c00::22c]:36581) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xyf6N-00053g-Q0 for qemu-devel@nongnu.org; Wed, 10 Dec 2014 06:06:39 -0500 Received: by mail-wg0-f44.google.com with SMTP id b13so3273178wgh.31 for ; Wed, 10 Dec 2014 03:06:39 -0800 (PST) Sender: Paolo Bonzini From: Paolo Bonzini Date: Wed, 10 Dec 2014 12:06:28 +0100 Message-Id: <1418209592-9373-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH v2 0/4] x86 CPU model fixes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: ehabkost@redhat.com Most processors were lacking the VME flags. Haswell and Broadwell were lacking two more. And Ivy Bridge was missing altogether. Family/model/stepping for a low-end Xeon E3 v2 found on the SETI@Home CPU list (http://setiathome.berkeley.edu/cpu_list.php), they also match the Ivy Bridge Core i7 processor on which I tested the patch. The following bare-metal features are missing in the guest: dts acpi ss ht tm pbe arch_perfmon pebs bts xtopology nonstop_tsc aperfmperf dtes64 monitor ds_cpl vmx smx est tm2 xtpr pdcm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid ... the absence of none of which is surprising. Paolo v1->v2: add pc_compat_2_2 call to pc_compat_2_1 (for both PC and Q35) remove VME, do not add it, for 2.2 machines remove F16C/RDRAND, do not add them, for 2.2 machines do not touch model names for SandyBridge Paolo Bonzini (4): pc: add 2.3 machine types target-i386: add VME to all CPUs target-i386: add f16c and rdrand to Haswell and Broadwell target-i386: add Ivy Bridge CPU model hw/i386/pc_piix.c | 49 ++++++++++++++++++++++++++++++++++++++--- hw/i386/pc_q35.c | 45 ++++++++++++++++++++++++++++++++++--- target-i386/cpu.c | 66 +++++++++++++++++++++++++++++++++++++++++-------------- 3 files changed, 137 insertions(+), 23 deletions(-) -- 1.8.3.1