* [Qemu-devel] [PULL for-1.6 0/1] QOM CPUState patch queue 2013-08-12
@ 2013-08-12 15:37 Andreas Färber
2013-08-12 15:37 ` [Qemu-devel] [PULL 1/1] pc: Remove PCLMULQDQ from Westmere on pc-*-1.4 and older Andreas Färber
0 siblings, 1 reply; 2+ messages in thread
From: Andreas Färber @ 2013-08-12 15:37 UTC (permalink / raw)
To: qemu-devel; +Cc: Andreas Färber, Anthony Liguori
Hello Anthony,
This is my current QOM CPU patch queue for 1.6. Please pull.
Thanks,
Andreas
Cc: Anthony Liguori <anthony@codemonkey.ws>
The following changes since commit 8f3067bd86485f8cd03abc940ddb2b8467ef3627:
rdma: remaining documentation fixes (2013-08-12 09:31:16 -0500)
are available in the git repository at:
git://github.com/afaerber/qemu-cpu.git tags/qom-cpu-for-anthony
for you to fetch changes up to 56383703c060777fd01aaf8d63d5f46d660e9fb9:
pc: Remove PCLMULQDQ from Westmere on pc-*-1.4 and older (2013-08-12 17:33:28 +0200)
----------------------------------------------------------------
QOM CPUState refactorings
* Fix X86CPU Westmere CPUID for pc-*-1.4 and older
----------------------------------------------------------------
Eduardo Habkost (1):
pc: Remove PCLMULQDQ from Westmere on pc-*-1.4 and older
hw/i386/pc_piix.c | 1 +
hw/i386/pc_q35.c | 1 +
2 files changed, 2 insertions(+)
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Qemu-devel] [PULL 1/1] pc: Remove PCLMULQDQ from Westmere on pc-*-1.4 and older
2013-08-12 15:37 [Qemu-devel] [PULL for-1.6 0/1] QOM CPUState patch queue 2013-08-12 Andreas Färber
@ 2013-08-12 15:37 ` Andreas Färber
0 siblings, 0 replies; 2+ messages in thread
From: Andreas Färber @ 2013-08-12 15:37 UTC (permalink / raw)
To: qemu-devel; +Cc: Anthony Liguori, Eduardo Habkost, Andreas Färber
From: Eduardo Habkost <ehabkost@redhat.com>
Commit 41cb383f42d0cb51d8e3e25e3ecebc954dd4196f made a guest-visible
change by adding the PCLMULQDQ bit to Westmere without adding
compatibility code to keep the ABI for older machine-types.
Fix it by adding the missing compat code.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
---
hw/i386/pc_piix.c | 1 +
hw/i386/pc_q35.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c
index a19e172..1329f97 100644
--- a/hw/i386/pc_piix.c
+++ b/hw/i386/pc_piix.c
@@ -265,6 +265,7 @@ static void pc_init_pci_1_4(QEMUMachineInitArgs *args)
{
has_pvpanic = false;
x86_cpu_compat_set_features("n270", FEAT_1_ECX, 0, CPUID_EXT_MOVBE);
+ x86_cpu_compat_set_features("Westmere", FEAT_1_ECX, 0, CPUID_EXT_PCLMULQDQ);
pc_init_pci_1_5(args);
}
diff --git a/hw/i386/pc_q35.c b/hw/i386/pc_q35.c
index be6013f..1d84ead 100644
--- a/hw/i386/pc_q35.c
+++ b/hw/i386/pc_q35.c
@@ -233,6 +233,7 @@ static void pc_q35_init_1_4(QEMUMachineInitArgs *args)
{
has_pvpanic = false;
x86_cpu_compat_set_features("n270", FEAT_1_ECX, 0, CPUID_EXT_MOVBE);
+ x86_cpu_compat_set_features("Westmere", FEAT_1_ECX, 0, CPUID_EXT_PCLMULQDQ);
pc_q35_init_1_5(args);
}
--
1.8.1.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-08-12 15:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-12 15:37 [Qemu-devel] [PULL for-1.6 0/1] QOM CPUState patch queue 2013-08-12 Andreas Färber
2013-08-12 15:37 ` [Qemu-devel] [PULL 1/1] pc: Remove PCLMULQDQ from Westmere on pc-*-1.4 and older Andreas Färber
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).