]> Git Repo - qemu.git/commitdiff
KVM: cpuid function 2: store all values (Amit Shah)
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 11 Feb 2009 21:00:43 +0000 (21:00 +0000)
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 11 Feb 2009 21:00:43 +0000 (21:00 +0000)
Incrementing the array index was missed in the previous series which causes
us to not store all the values.

Signed-off-by: Amit Shah <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6617 c046a42c-6fe2-441c-8c8c-71466251a162

target-i386/kvm.c

index 19b08d80097437180ebcf87d5135a4cf2a143bb4..86745b1350ce389683cfecb56d7388f4c8d155fc 100644 (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;
         }
This page took 0.026755 seconds and 4 git commands to generate.