[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] KVM: cpuid function 2: store all values
From: |
Amit Shah |
Subject: |
[Qemu-devel] [PATCH] KVM: cpuid function 2: store all values |
Date: |
Wed, 11 Feb 2009 19:59:05 +0530 |
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
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;
}
--
1.6.0.6
- [Qemu-devel] [PATCH] KVM: cpuid function 2: store all values,
Amit Shah <=