From patchwork Sat Jul 21 12:27:01 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Hajnoczi X-Patchwork-Id: 172426 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 9D9FE2C0302 for ; Sat, 21 Jul 2012 22:27:35 +1000 (EST) Received: from localhost ([::1]:53850 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SsYmT-0008Ak-Hh for incoming@patchwork.ozlabs.org; Sat, 21 Jul 2012 08:27:33 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58464) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SsYmE-00085l-GJ for qemu-devel@nongnu.org; Sat, 21 Jul 2012 08:27:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SsYmC-0004r7-VE for qemu-devel@nongnu.org; Sat, 21 Jul 2012 08:27:18 -0400 Received: from e06smtp11.uk.ibm.com ([195.75.94.107]:37225) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SsYmC-0004qs-Mi for qemu-devel@nongnu.org; Sat, 21 Jul 2012 08:27:16 -0400 Received: from /spool/local by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Sat, 21 Jul 2012 13:27:15 +0100 Received: from d06nrmr1407.portsmouth.uk.ibm.com (9.149.38.185) by e06smtp11.uk.ibm.com (192.168.101.141) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Sat, 21 Jul 2012 13:27:14 +0100 Received: from d06av04.portsmouth.uk.ibm.com (d06av04.portsmouth.uk.ibm.com [9.149.37.216]) by d06nrmr1407.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q6LCRD3a1507490 for ; Sat, 21 Jul 2012 13:27:13 +0100 Received: from d06av04.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av04.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q6LCRDlD003958 for ; Sat, 21 Jul 2012 06:27:13 -0600 Received: from localhost (sig-9-146-168-221.uk.ibm.com [9.146.168.221]) by d06av04.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id q6LCRCjB003955; Sat, 21 Jul 2012 06:27:13 -0600 From: Stefan Hajnoczi To: Anthony Liguori Date: Sat, 21 Jul 2012 13:27:01 +0100 Message-Id: <1342873625-7979-3-git-send-email-stefanha@linux.vnet.ibm.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1342873625-7979-1-git-send-email-stefanha@linux.vnet.ibm.com> References: <1342873625-7979-1-git-send-email-stefanha@linux.vnet.ibm.com> x-cbid: 12072112-5024-0000-0000-0000034A3700 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 195.75.94.107 Cc: qemu-devel@nongnu.org, Stefan Hajnoczi , "Mao, Junjie" Subject: [Qemu-devel] [PATCH 2/6] Recognize PCID feature X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: "Mao, Junjie" This patch makes Qemu recognize the PCID feature specified from configuration or command line options. Signed-off-by: Junjie Mao Signed-off-by: Stefan Hajnoczi --- target-i386/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target-i386/cpu.c b/target-i386/cpu.c index b3bcbac..6b9659f 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",