From mboxrd@z Thu Jan 1 00:00:00 1970 From: "David S. Ahern" Subject: Re: segfault at start with latest qemu-kvm.git Date: Wed, 03 Mar 2010 16:11:49 -0700 Message-ID: <4B8EECB5.7030609@cisco.com> References: <4B8ECC79.8040205@cisco.com> <4B8EEC07.2040803@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: kvm-devel To: Jan Kiszka Return-path: Received: from sj-iport-3.cisco.com ([171.71.176.72]:20587 "EHLO sj-iport-3.cisco.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753928Ab0CCXLu (ORCPT ); Wed, 3 Mar 2010 18:11:50 -0500 In-Reply-To: <4B8EEC07.2040803@web.de> Sender: kvm-owner@vger.kernel.org List-ID: On 03/03/2010 04:08 PM, Jan Kiszka wrote: > David S. Ahern wrote: >> With latest qemu-kvm.git I am getting a segfault at start: >> >> /tmp/qemu-kvm-test/bin/qemu-system-x86_64 -m 1024 -smp 2 \ >> -drive file=/images/f12-x86_64.img,if=virtio,cache=none,boot=on >> >> kvm_create_vcpu: Invalid argument >> Segmentation fault (core dumped) >> >> >> git bisect points to: >> >> Bisecting: 0 revisions left to test after this (roughly 0 steps) >> [52b03dd70261934688cb00768c4b1e404716a337] qemu-kvm: Move >> kvm_set_boot_cpu_id >> >> >> $ git show >> commit 7811d4e8ec057d25db68f900be1f09a142faca49 >> Author: Marcelo Tosatti >> Date: Mon Mar 1 21:36:31 2010 -0300 >> >> >> If I manually back out the patch it will boot fine. >> > > Problem persists after removing the build directory and doing a fresh > configure && make? I'm asking before taking the bug (which would be > mine, likely) as I recently spent some hours "debugging" a volatile > build system issue. > > Jan > Before sending the email I pulled a fresh clone in a completely different directory (/tmp) to determine if it was something I introduced. I then went back to my usual location, unapplied the patch and it worked fine. David