qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/3] Drop default SD card creation
@ 2012-08-16 13:45 Peter Maydell
  2012-08-16 13:45 ` [Qemu-devel] [PATCH 1/3] omap: Get BlockDriverState* in mmc controller init, not board init Peter Maydell
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Peter Maydell @ 2012-08-16 13:45 UTC (permalink / raw)
  To: qemu-devel; +Cc: Kevin Wolf, Paul Brook, Markus Armbruster, patches

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2012-08-16 16:34 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-16 13:45 [Qemu-devel] [PATCH 0/3] Drop default SD card creation Peter Maydell
2012-08-16 13:45 ` [Qemu-devel] [PATCH 1/3] omap: Get BlockDriverState* in mmc controller init, not board init Peter Maydell
2012-08-16 13:45 ` [Qemu-devel] [PATCH 2/3] pxa2xx: " Peter Maydell
2012-08-16 13:45 ` [Qemu-devel] [PATCH 3/3] Drop default SD card creation Peter Maydell
2012-08-16 14:11 ` [Qemu-devel] [PATCH 0/3] " Markus Armbruster
2012-08-16 14:26   ` Peter Maydell
2012-08-16 14:56     ` Paul Brook
2012-08-16 15:17       ` Markus Armbruster
2012-08-16 15:24         ` Peter Maydell
2012-08-16 16:03           ` Markus Armbruster
2012-08-16 16:34             ` Paul Brook
2012-08-16 16:09           ` Paul Brook
2012-08-16 15:05     ` Markus Armbruster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).