From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:49534) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T231f-0002eu-FA for qemu-devel@nongnu.org; Thu, 16 Aug 2012 12:34:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T231e-0003lE-DD for qemu-devel@nongnu.org; Thu, 16 Aug 2012 12:34:27 -0400 Received: from relay1.mentorg.com ([192.94.38.131]:38700) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T231e-0003l3-7D for qemu-devel@nongnu.org; Thu, 16 Aug 2012 12:34:26 -0400 From: Paul Brook Date: Thu, 16 Aug 2012 17:34:21 +0100 References: <1345124754-4173-1-git-send-email-peter.maydell@linaro.org> <87mx1u4yen.fsf@blackfin.pond.sub.org> In-Reply-To: <87mx1u4yen.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Message-ID: <201208161734.21604.paul@codesourcery.com> Subject: Re: [Qemu-devel] [PATCH 0/3] Drop default SD card creation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster Cc: Kevin Wolf , Peter Maydell , qemu-devel@nongnu.org, patches@linaro.org > One way is to treat the SD card as a hot-pluggable device. A card > reader device model provides a connector for the SD card device model. > The SD card device model is backed by a block backend, with > non-removable medium. Card change is device hot plug. >... > Note that we could model floppies and CD-ROMs that way, too. That's a good point. e.g. for a cdrom I'm pretty sure there's a bit somewhere that tells you whether it's a pressed cd or a cd-r. Attaching this information to a cdrom-disk device (hotplugged into a cdrom-drive) seems to make sense. Paul