From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:57845) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T20Z1-0001sl-Av for qemu-devel@nongnu.org; Thu, 16 Aug 2012 09:56:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T20Yx-0007o4-PS for qemu-devel@nongnu.org; Thu, 16 Aug 2012 09:56:43 -0400 Received: from mnementh.archaic.org.uk ([81.2.115.146]:50108) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T20Yx-0007nq-I8 for qemu-devel@nongnu.org; Thu, 16 Aug 2012 09:56:39 -0400 From: Peter Maydell Date: Thu, 16 Aug 2012 14:45:51 +0100 Message-Id: <1345124754-4173-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH 0/3] Drop default SD card creation List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kevin Wolf , Paul Brook , Markus Armbruster , patches@linaro.org As suggested in the recent discussion on Marcks' patchset to suppress unused default drives, this patchset cleans up the omap and pxa2xx SD card controllers to behave like the other controllers: * the init function looks for the next IF_SD drive * if there isn't one, we start up as a controller with no card present This then allows us to drop the QEMUMachine no_sdcard flag and the vl.c code which creates a dummy IF_SD drive. Not intended for 1.2, obviously. Peter Maydell (3): omap: Get BlockDriverState* in mmc controller init, not board init pxa2xx: Get BlockDriverState* in mmc controller init, not board init Drop default SD card creation hw/boards.h | 3 +-- hw/omap.h | 3 +-- hw/omap1.c | 8 +------- hw/omap2.c | 8 +------- hw/omap_mmc.c | 12 ++++++++---- hw/pxa.h | 2 +- hw/pxa2xx.c | 16 ++-------------- hw/pxa2xx_mmci.c | 7 +++++-- hw/s390-virtio.c | 1 - hw/xilinx_zynq.c | 1 - vl.c | 7 ------- 11 files changed, 20 insertions(+), 48 deletions(-) -- 1.7.9.5