On 07/09/2015 02:06 PM, Paolo Bonzini wrote:


On 09/07/2015 10:17, Richard Henderson wrote:
@@ -405,7 +405,7 @@ static FeatureWordInfo feature_word_info[FEATURE_WORDS] = {
      },
      [FEAT_XSAVE] = {
          .feat_names = cpuid_xsave_feature_name,
-        .cpuid_eax = 0xd,
+        .cpuid_eax = CPUID_XSAVE_XSAVEOPT | CPUID_XSAVE_XGETBV1,

KVM does implements CPUID_XSAVE_XSAVEC though.  Should you set
.tcg_features instead?

Oops, yes of course -- 0xd is the selector here.


r~


Reply via email to