Received: from eggs.gnu.org ([2001:4830:134:3::10]:40702) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSRXl-0000Kd-UL for qemu-devel@nongnu.org; Mon, 02 Mar 2015 09:42:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YSRXh-0007sU-P9 for qemu-devel@nongnu.org; Mon, 02 Mar 2015 09:42:01 -0500 Received: from mail-qg0-x22a.google.com ([2607:f8b0:400d:c04::22a]:33906) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSRXh-0007sI-LC for qemu-devel@nongnu.org; Mon, 02 Mar 2015 09:41:57 -0500 Received: by mail-qg0-f42.google.com with SMTP id z60so6464479qgd.1 for ; Mon, 02 Mar 2015 06:41:56 -0800 (PST) Date: Mon, 2 Mar 2015 09:41:54 -0500 From: "Gabriel L. Somlo" Message-ID: <20150302144150.GD1824@HEDWIG.INI.CMU.EDU> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [Qemu-devel] commit 0be63901d2a33a6ed25caa5df3f530df75338f6a breaks "-kernel" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: pbonzini@redhat.com, arei.gonglei@huawei.com Using "-kenel " results in a segmentation fault (at least with qemu-system-x86_64). Bisect says the breakage was introduced by commit commit 0be63901d2a33a6ed25caa5df3f530df75338f6a Author: Gonglei Date: Thu Jan 29 15:08:51 2015 +0800 qdev: support to get a device firmware path directly commit 6b1566c (qdev: Introduce FWPathProvider interface) did a good job for supproting to get firmware path on some different architectures. Moreover further more, we can use the interface to get firmware path name for a device which isn't attached a specific bus, such as virtio-bus, scsi-bus etc. When the device (such as vhost-scsi) realize the TYPE_FW_PATH_PROVIDER interface, we should introduce a new function to get the correct firmware path name for it. Signed-off-by: Gonglei Signed-off-by: Paolo Bonzini Reverting the commit seems to fix the problem for me, as a temporary solution. Thanks, --Gabriel