KVM: cpuid function 2: store all values
PATCH 1/1 KVM: cpuid function 2: store all values
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]>
--- qemu/target-i386/kvm.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
qemu/target-i386/kvm.c +1 -0
@@ -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 ; }
Signature · 1 line
1.6.0.6
Anthony Liguori
Appliedqemu/target-i386/kvm.c
Quoted 10 lines · 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 <[email protected]>--- qemu/target-i386/kvm.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)qemu/target-i386/kvm.c +0
-0
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
Quoted 12 lines
index 19b08d8..86745b1 100644
qemu/target-i386/kvm.c +1
-0@@ -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 ; }