From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brian Kress Subject: Current KVM head crashes on startup Date: Tue, 17 Feb 2009 12:47:10 -0500 Message-ID: <499AF81E.7080406@egenera.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit To: kvm@vger.kernel.org Return-path: Received: from webaccess.egenera.com ([63.139.209.15]:44806 "EHLO webaccess.egenera.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754135AbZBQSC1 (ORCPT ); Tue, 17 Feb 2009 13:02:27 -0500 Sender: kvm-owner@vger.kernel.org List-ID: When I try to run KVM built off the current head, it crashes with a Segmentation fault. KVM-84 does not. Seems to be dealing with the CPUID changes: 0x081a5c70 in host_cpuid () at /home/kressb/kvm/src/qemu/target-i386/helper.c:1426 1426 asm volatile("pusha \n\t" At a guess, it's this commit: commit b9bacf8975c5db7b6f14cabcae98130913f2d013 Author: aliguori Date: Mon Feb 9 15:50:08 2009 +0000 KVM: CPUID takes ecx as input value for some functions (Amit Shah) The CPUID instruction takes the value of ECX as an input parameter in addition to the value of EAX as the count for functions 4, 0xb and 0xd. Make sure we pass the value to the instruction. Also convert to the qemu-style whitespace for the surrounding code. Signed-off-by: Amit Shah Signed-off-by: Anthony Liguori In case it matters, the host CPU is: Intel(R) Core(TM)2 CPU 6420 @ 2.13GHz