Commit b136a4c6ef9bff59151f3c5d8aad48b0b924da12

Authored by aliguori
1 parent 452b4d88

KVM: cpuid function 2: store all values (Amit Shah)

Incrementing the array index was missed in the previous series which causes
us to not store all the values.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6617 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 0 deletions
target-i386/kvm.c
... ... @@ -74,6 +74,7 @@ int kvm_arch_init_vcpu(CPUState *env)
74 74 c->ebx = ebx;
75 75 c->ecx = ecx;
76 76 c->edx = edx;
  77 + c = &cpuid_data.entries[++cpuid_i];
77 78 }
78 79 break;
79 80 }
... ...