Commit 40a2d7050abca76776d863d680fe49b3aa8c7fab
1 parent
d456ae3e
Fix crash in kvm.c (Stefan Weil)
Fix crash with kvm enabled. Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5984 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
1 deletions
target-i386/kvm.c
... | ... | @@ -39,7 +39,7 @@ int kvm_arch_init_vcpu(CPUState *env) |
39 | 39 | struct kvm_cpuid cpuid; |
40 | 40 | struct kvm_cpuid_entry entries[100]; |
41 | 41 | } __attribute__((packed)) cpuid_data; |
42 | - int limit, i, cpuid_i; | |
42 | + uint32_t limit, i, cpuid_i; | |
43 | 43 | uint32_t eax, ebx, ecx, edx; |
44 | 44 | |
45 | 45 | cpuid_i = 0; | ... | ... |