|
| From: | Anthony Liguori |
| Subject: | [Qemu-devel] Re: [PATCH] KVM: cpuid function 2: store all values |
| Date: | Wed, 11 Feb 2009 15:01:37 -0600 |
| User-agent: | Thunderbird 2.0.0.19 (X11/20090105) |
Amit Shah wrote:
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> --- qemu/target-i386/kvm.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/qemu/target-i386/kvm.c b/qemu/target-i386/kvm.c
Applied. Thanks.I had to manually fix up the patch to apply with -p1. Please resubmit your other one against SVN though.
Regards, Anthony Liguori
index 19b08d8..86745b1 100644
--- a/qemu/target-i386/kvm.c
+++ b/qemu/target-i386/kvm.c
@@ -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;
}
| [Prev in Thread] | Current Thread | [Next in Thread] |