Skip to contentSkip to conversation

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

Qemu-devel Anthony Liguori 1 participant 1 message Feb 11, 2009

lore
Share & tools
lore
#0 lore raw

Revision: 6617

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6617
Author:   aliguori
Date:     2009-02-11 21:00:43 +0000 (Wed, 11 Feb 2009)

Log Message:
-----------
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.

Modified Paths:
--------------

    trunk/target-i386/kvm.c

Modified: trunk/target-i386/kvm.c
===================================================================

target-i386/kvm.c +1 -0
@@ -74,6 +74,7 @@
                 c->ebx = ebx;
                 c->ecx = ecx;
                 c->edx = edx;
+                c = &cpuid_data.entries[++cpuid_i];
             }
             break;
         }