Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LAsgn-0004Fq-Oz for qemu-devel@nongnu.org; Thu, 11 Dec 2008 16:03:17 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LAsgn-0004Fe-7j for qemu-devel@nongnu.org; Thu, 11 Dec 2008 16:03:17 -0500 Received: from [199.232.76.173] (port=41000 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LAsgn-0004Fb-37 for qemu-devel@nongnu.org; Thu, 11 Dec 2008 16:03:17 -0500 Received: from savannah.gnu.org ([199.232.41.3]:47856 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LAsgm-000701-6h for qemu-devel@nongnu.org; Thu, 11 Dec 2008 16:03:16 -0500 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1LAsgh-0008FH-D9 for qemu-devel@nongnu.org; Thu, 11 Dec 2008 21:03:11 +0000 Received: from aliguori by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1LAsgh-0008FD-3g for qemu-devel@nongnu.org; Thu, 11 Dec 2008 21:03:11 +0000 MIME-Version: 1.0 Errors-To: aliguori Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Anthony Liguori Message-Id: Date: Thu, 11 Dec 2008 21:03:11 +0000 Subject: [Qemu-devel] [5984] Fix crash in kvm.c (Stefan Weil) Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Revision: 5984 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5984 Author: aliguori Date: 2008-12-11 21:03:10 +0000 (Thu, 11 Dec 2008) Log Message: ----------- Fix crash in kvm.c (Stefan Weil) Fix crash with kvm enabled. Signed-off-by: Stefan Weil Signed-off-by: Anthony Liguori Modified Paths: -------------- trunk/target-i386/kvm.c Modified: trunk/target-i386/kvm.c =================================================================== --- trunk/target-i386/kvm.c 2008-12-11 19:39:56 UTC (rev 5983) +++ trunk/target-i386/kvm.c 2008-12-11 21:03:10 UTC (rev 5984) @@ -39,7 +39,7 @@ 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;