diff --git a/qemu/target/i386/cpu.c b/qemu/target/i386/cpu.c index 61417f70..fb4ff2d4 100644 --- a/qemu/target/i386/cpu.c +++ b/qemu/target/i386/cpu.c @@ -928,7 +928,7 @@ static FeatureWordInfo feature_word_info[FEATURE_WORDS] = { { NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, - NULL, NULL, NULL, NULL, + NULL, "wbnoinvd", NULL, NULL, "ibpb", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, diff --git a/qemu/target/i386/cpu.h b/qemu/target/i386/cpu.h index 44a5245e..deb0aa01 100644 --- a/qemu/target/i386/cpu.h +++ b/qemu/target/i386/cpu.h @@ -674,6 +674,8 @@ typedef uint32_t FeatureWordArray[FEATURE_WORDS]; #define KVM_HINTS_DEDICATED (1U << 0) +#define CPUID_8000_0008_EBX_WBNOINVD (1U << 9) /* Write back and do not invalidate cache */ + #define CPUID_8000_0008_EBX_IBPB (1U << 12) /* Indirect Branch Prediction Barrier */ #define CPUID_XSAVE_XSAVEOPT (1U << 0)