From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:40091) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tcyx5-0003ZW-He for qemu-devel@nongnu.org; Mon, 26 Nov 2012 08:42:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tcywz-0006Bf-KN for qemu-devel@nongnu.org; Mon, 26 Nov 2012 08:42:23 -0500 Received: from mx1.redhat.com ([209.132.183.28]:30456) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tcywz-0006BY-CN for qemu-devel@nongnu.org; Mon, 26 Nov 2012 08:42:17 -0500 Message-ID: <50B371B6.6060107@redhat.com> Date: Mon, 26 Nov 2012 14:42:14 +0100 From: Kevin Wolf MIME-Version: 1.0 References: <87boepybuj.fsf@blackfin.pond.sub.org> In-Reply-To: <87boepybuj.fsf@blackfin.pond.sub.org> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] drive_add 0 if=scsi crashes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster Cc: Paolo Bonzini , qemu-devel@nongnu.org, Anthony Liguori Am 22.11.2012 15:02, schrieb Markus Armbruster: > Watch this: > > (qemu) drive_add 0 if=scsi > Segmentation fault (core dumped) > > Broken in commit 0d936928 "qdev: Convert busses to QEMU Object Model". > Before: > > (qemu) drive_add 0 if=scsi > Device is not a SCSI adapter I have a patch in my development tree for this. Didn't get committed because it wasn't clear to me how to fix the second part: (qemu) drive_add 1 file=/tmp/test.qcow2,if=scsi Object 0x7f84a1cf6190 is not an instance of type SCSI Abgebrochen And when Anthony finally replied, I was too busy to actually complete the fix. I'll do that now. Kevin