From 8c0ed30d384caa29c8c0795ec68f48f070267bb8 Mon Sep 17 00:00:00 2001 From: Cathy Zhang Date: Tue, 14 Jan 2020 07:52:12 -0500 Subject: [PATCH] i386: Add MSR feature bit for MDS-NO Define MSR_ARCH_CAP_MDS_NO in the IA32_ARCH_CAPABILITIES MSR to allow CPU models to report the feature when host supports it. Backports commit 77b168d221191156c47fcd8d1c47329dfdb9439e from qemu --- qemu/target/i386/cpu.h | 1 + 1 file changed, 1 insertion(+) diff --git a/qemu/target/i386/cpu.h b/qemu/target/i386/cpu.h index 8d748179..695d5ac8 100644 --- a/qemu/target/i386/cpu.h +++ b/qemu/target/i386/cpu.h @@ -722,6 +722,7 @@ typedef uint32_t FeatureWordArray[FEATURE_WORDS]; #define MSR_ARCH_CAP_RSBA (1U << 2) #define MSR_ARCH_CAP_SKIP_L1DFL_VMENTRY (1U << 3) #define MSR_ARCH_CAP_SSB_NO (1U << 4) +#define MSR_ARCH_CAP_MDS_NO (1U << 5) #define MSR_CORE_CAP_SPLIT_LOCK_DETECT (1U << 5)