Received: from eggs.gnu.org ([140.186.70.92]:55772) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGuyD-0003Bw-Ud for qemu-devel@nongnu.org; Thu, 20 Oct 2011 11:55:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RGuyC-0006aQ-Sv for qemu-devel@nongnu.org; Thu, 20 Oct 2011 11:55:49 -0400 Received: from mx1.redhat.com ([209.132.183.28]:1411) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGuyC-0006Zj-K1 for qemu-devel@nongnu.org; Thu, 20 Oct 2011 11:55:48 -0400 From: Markus Armbruster References: <1319121687-12209-1-git-send-email-kwolf@redhat.com> Date: Thu, 20 Oct 2011 17:55:34 +0200 In-Reply-To: <1319121687-12209-1-git-send-email-kwolf@redhat.com> (Kevin Wolf's message of "Thu, 20 Oct 2011 16:41:27 +0200") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Qemu-devel] [PATCH] pc: Fix floppy drives with if=none List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin Wolf Cc: blauwirbel@gmail.com, qemu-devel@nongnu.org, zeeshanak@gnome.org Kevin Wolf writes: > Commit 63ffb564 broke floppy devices specific on the command line like > -drive file=...,if=none,id=floppy -global isa-fdc.driveA=floppy because it > relies on drive_get() which works only with -fda/-drive if=floppy. > > This patch resembles what we're already doing for IDE, i.e. remember the floppy > device that was created and use that to extract the BlockDriverStates where > needed. > > Signed-off-by: Kevin Wolf Reviewed-by: Markus Armbruster