From 40a2d7050abca76776d863d680fe49b3aa8c7fab Mon Sep 17 00:00:00 2001 From: aliguori Date: Thu, 11 Dec 2008 21:03:10 +0000 Subject: [PATCH] Fix crash in kvm.c (Stefan Weil) Fix crash with kvm enabled. Signed-off-by: Stefan Weil Signed-off-by: Anthony Liguori git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5984 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-i386/kvm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target-i386/kvm.c b/target-i386/kvm.c index 3f60654..5e051c5 100644 --- a/target-i386/kvm.c +++ b/target-i386/kvm.c @@ -39,7 +39,7 @@ int kvm_arch_init_vcpu(CPUState *env) struct kvm_cpuid cpuid; struct kvm_cpuid_entry entries[100]; } __attribute__((packed)) cpuid_data; - int limit, i, cpuid_i; + uint32_t limit, i, cpuid_i; uint32_t eax, ebx, ecx, edx; cpuid_i = 0; -- 2.7.4