yeahuh / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone
bc6c26
From 8f9887acd04e8db0bebd0ad3fe1cf5d7294abdfd Mon Sep 17 00:00:00 2001
bc6c26
From: Paolo Bonzini <pbonzini@redhat.com>
bc6c26
Date: Sat,  2 Mar 2019 00:07:10 +0100
bc6c26
Subject: target/i386: define md-clear bit
bc6c26
bc6c26
Message-id: <20190301230710.692-1-pbonzini@redhat.com>
bc6c26
O-Subject: [qemu PATCH] target/i386: define md-clear bit
bc6c26
bc6c26
md-clear is a new CPUID bit which is set when microcode provides the
bc6c26
mechanism to invoke a flush of various exploitable CPU buffers by invoking
bc6c26
the VERW instruction.
bc6c26
bc6c26
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
bc6c26
bc6c26
---
bc6c26
bc6c26
  target/i386/cpu.c | 2 +-
bc6c26
  1 file changed, 1 insertion(+), 1 deletion(-)
bc6c26
bc6c26
diff --git a/target/i386/cpu.c b/target/i386/cpu.c
bc6c26
index d990070c59..16da90562c 100644
bc6c26
--- a/target/i386/cpu.c
bc6c26
+++ b/target/i386/cpu.c
bc6c26
@@ -1075,7 +1075,7 @@ static FeatureWordInfo feature_word_info[FEATURE_WORDS] = {
bc6c26
         .feat_names = {
bc6c26
             NULL, NULL, "avx512-4vnniw", "avx512-4fmaps",
bc6c26
             NULL, NULL, NULL, NULL,
bc6c26
-            NULL, NULL, NULL, NULL,
bc6c26
+            NULL, NULL, "md-clear", NULL,
bc6c26
             NULL, NULL, NULL, NULL,
bc6c26
             NULL, NULL, NULL, NULL,
bc6c26
             NULL, NULL, NULL, NULL,
bc6c26
-- 
bc6c26
2.20.1
bc6c26