cryptospore / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone
9ae3a8
From 60fe9056e610b5ee15b4715586d816c099060f41 Mon Sep 17 00:00:00 2001
9ae3a8
From: Eduardo Habkost <ehabkost@redhat.com>
9ae3a8
Date: Thu, 25 Jun 2015 19:31:27 +0200
9ae3a8
Subject: [PATCH 07/10] target-i386: Add "mpx" CPU feature name
9ae3a8
9ae3a8
Message-id: <1435260689-9556-7-git-send-email-ehabkost@redhat.com>
9ae3a8
Patchwork-id: 66503
9ae3a8
O-Subject: [RHEL-7.2 qemu-kvm PATCH 6/8] target-i386: Add "mpx" CPU feature name
9ae3a8
Bugzilla: 1233350
9ae3a8
RH-Acked-by: Igor Mammedov <imammedo@redhat.com>
9ae3a8
RH-Acked-by: Bandan Das <bsd@redhat.com>
9ae3a8
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
9ae3a8
9ae3a8
Migration support for MPX is already implemented (commit
9ae3a8
79e9ebebbf2a00c46fcedb6dc7dd5e12bbd30216), so we can add it to the list
9ae3a8
of known feature names.
9ae3a8
9ae3a8
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
9ae3a8
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
9ae3a8
(cherry picked from commit 5bd8ff07e65d066f1e90f05d49ee634f3ccd2664)
9ae3a8
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
9ae3a8
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
9ae3a8
---
9ae3a8
 target-i386/cpu.c | 2 +-
9ae3a8
 1 file changed, 1 insertion(+), 1 deletion(-)
9ae3a8
9ae3a8
diff --git a/target-i386/cpu.c b/target-i386/cpu.c
9ae3a8
index 96af1bf..fe60c33 100644
9ae3a8
--- a/target-i386/cpu.c
9ae3a8
+++ b/target-i386/cpu.c
9ae3a8
@@ -145,7 +145,7 @@ static const char *svm_feature_name[] = {
9ae3a8
 
9ae3a8
 static const char *cpuid_7_0_ebx_feature_name[] = {
9ae3a8
     "fsgsbase", NULL, NULL, "bmi1", "hle", "avx2", NULL, "smep",
9ae3a8
-    "bmi2", "erms", "invpcid", "rtm", NULL, NULL, NULL, NULL,
9ae3a8
+    "bmi2", "erms", "invpcid", "rtm", NULL, NULL, "mpx", NULL,
9ae3a8
     NULL, NULL, "rdseed", "adx", "smap", NULL, NULL, NULL,
9ae3a8
     NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
9ae3a8
 };
9ae3a8
-- 
9ae3a8
1.8.3.1
9ae3a8