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
master
aliguori 2009-02-11 21:00:43 +00:00
parent 452b4d88e5
commit b136a4c6ef
1 changed files with 1 additions and 0 deletions

View File

@ -74,6 +74,7 @@ int kvm_arch_init_vcpu(CPUState *env)
c->ebx = ebx;
c->ecx = ecx;
c->edx = edx;
c = &cpuid_data.entries[++cpuid_i];
}
break;
}