|
@@ -534,6 +534,7 @@ static inline int __do_cpuid_ent(struct kvm_cpuid_entry2 *entry, u32 function,
|
|
do_cpuid_1_ent(&entry[i], function, idx);
|
|
do_cpuid_1_ent(&entry[i], function, idx);
|
|
if (idx == 1) {
|
|
if (idx == 1) {
|
|
entry[i].eax &= kvm_cpuid_D_1_eax_x86_features;
|
|
entry[i].eax &= kvm_cpuid_D_1_eax_x86_features;
|
|
|
|
+ cpuid_mask(&entry[i].eax, CPUID_D_1_EAX);
|
|
entry[i].ebx = 0;
|
|
entry[i].ebx = 0;
|
|
if (entry[i].eax & (F(XSAVES)|F(XSAVEC)))
|
|
if (entry[i].eax & (F(XSAVES)|F(XSAVEC)))
|
|
entry[i].ebx =
|
|
entry[i].ebx =
|