aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kvm')
-rw-r--r--arch/x86/kvm/x86.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index 9a4a39cfe6ef..2889a0f359ea 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -1276,7 +1276,7 @@ static void do_cpuid_ent(struct kvm_cpuid_entry2 *entry, u32 function,
1276 entry->flags |= KVM_CPUID_FLAG_SIGNIFCANT_INDEX; 1276 entry->flags |= KVM_CPUID_FLAG_SIGNIFCANT_INDEX;
1277 /* read more entries until level_type is zero */ 1277 /* read more entries until level_type is zero */
1278 for (i = 1; *nent < maxnent; ++i) { 1278 for (i = 1; *nent < maxnent; ++i) {
1279 level_type = entry[i - 1].ecx & 0xff; 1279 level_type = entry[i - 1].ecx & 0xff00;
1280 if (!level_type) 1280 if (!level_type)
1281 break; 1281 break;
1282 do_cpuid_1_ent(&entry[i], function, i); 1282 do_cpuid_1_ent(&entry[i], function, i);