Patchwork [RESEND] Recognize PCID feature

login
register
mail settings
Submitter Mao, Junjie
Date July 20, 2012, 7:08 a.m.
Message ID <EF5A1D57CFBD5A4BA5EB3ED985B6DC6E0B4633@SHSMSX101.ccr.corp.intel.com>
Download mbox | patch
Permalink /patch/172144/
State New
Headers show

Comments

Mao, Junjie - July 20, 2012, 7:08 a.m.
This patch makes Qemu recognize the PCID feature specified from configuration or command line options.

Signed-off-by: Junjie Mao <junjie.mao@intel.com>
---
 target-i386/cpu.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

--
1.7.1
Stefan Hajnoczi - July 21, 2012, 9:43 a.m.
On Fri, Jul 20, 2012 at 07:08:21AM +0000, Mao, Junjie wrote:
> This patch makes Qemu recognize the PCID feature specified from configuration or command line options.
> 
> Signed-off-by: Junjie Mao <junjie.mao@intel.com>
> ---
>  target-i386/cpu.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)

Thanks, applied to the trivial patches tree:
https://github.com/stefanha/qemu/commits/trivial-patches

Stefan

Patch

diff --git a/target-i386/cpu.c b/target-i386/cpu.c index 5521709..efc6ece
100644
--- a/target-i386/cpu.c
+++ b/target-i386/cpu.c
@@ -50,7 +50,7 @@  static const char *ext_feature_name[] = {
     "ds_cpl", "vmx", "smx", "est",
     "tm2", "ssse3", "cid", NULL,
     "fma", "cx16", "xtpr", "pdcm",
-    NULL, NULL, "dca", "sse4.1|sse4_1",
+    NULL, "pcid", "dca", "sse4.1|sse4_1",
     "sse4.2|sse4_2", "x2apic", "movbe", "popcnt",
     "tsc-deadline", "aes", "xsave", "osxsave",
     "avx", NULL, NULL, "hypervisor",