qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Anthony Liguori
Subject: [Qemu-devel] [6617] KVM: cpuid function 2: store all values (Amit Shah)
Date: Wed, 11 Feb 2009 21:00:43 +0000

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.

Signed-off-by: Amit Shah <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>

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

Modified: trunk/target-i386/kvm.c
===================================================================
--- trunk/target-i386/kvm.c     2009-02-11 21:00:38 UTC (rev 6616)
+++ trunk/target-i386/kvm.c     2009-02-11 21:00:43 UTC (rev 6617)
@@ -74,6 +74,7 @@
                 c->ebx = ebx;
                 c->ecx = ecx;
                 c->edx = edx;
+                c = &cpuid_data.entries[++cpuid_i];
             }
             break;
         }






reply via email to

[Prev in Thread] Current Thread [Next in Thread]