Re: [Qemu-devel] [PATCH 0/3] Drop default SD card creation

2012-08-16 Thread Paul Brook
> 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 flopp

Re: [Qemu-devel] [PATCH 0/3] Drop default SD card creation

2012-08-16 Thread Paul Brook
> On 16 August 2012 16:17, Markus Armbruster wrote: > > Paul Brook writes: > >> I think this may be the wrong way to fix this. SD cards aren't really > >> have removable media. In the same way that a SCSI HDD are generally > >> not removable media - you hotplug the whole drive. > > > > If an S

Re: [Qemu-devel] [PATCH 0/3] Drop default SD card creation

2012-08-16 Thread Markus Armbruster
Peter Maydell writes: > On 16 August 2012 16:17, Markus Armbruster wrote: >> Paul Brook writes: >>> I think this may be the wrong way to fix this. SD cards aren't really have >>> removable media. In the same way that a SCSI HDD are generally not >>> removable >>> media - you hotplug the whol

Re: [Qemu-devel] [PATCH 0/3] Drop default SD card creation

2012-08-16 Thread Peter Maydell
On 16 August 2012 16:17, Markus Armbruster wrote: > Paul Brook writes: >> I think this may be the wrong way to fix this. SD cards aren't really have >> removable media. In the same way that a SCSI HDD are generally not removable >> media - you hotplug the whole drive. > > If an SD card device d

Re: [Qemu-devel] [PATCH 0/3] Drop default SD card creation

2012-08-16 Thread Markus Armbruster
Paul Brook writes: >> On 16 August 2012 15:11, Markus Armbruster wrote: >> > Peter Maydell writes: >> >> As suggested in the recent discussion on Markus' patchset to suppress >> >> unused default drives, this patchset cleans up the omap and pxa2xx >> >> >> >> SD card controllers to behave like

Re: [Qemu-devel] [PATCH 0/3] Drop default SD card creation

2012-08-16 Thread Markus Armbruster
Peter Maydell writes: > On 16 August 2012 15:11, Markus Armbruster wrote: >> Peter Maydell writes: >>> As suggested in the recent discussion on Markus' patchset to suppress >>> unused default drives, this patchset cleans up the omap and pxa2xx >>> SD card controllers to behave like the other co

Re: [Qemu-devel] [PATCH 0/3] Drop default SD card creation

2012-08-16 Thread Paul Brook
> On 16 August 2012 15:11, Markus Armbruster wrote: > > Peter Maydell writes: > >> As suggested in the recent discussion on Markus' patchset to suppress > >> unused default drives, this patchset cleans up the omap and pxa2xx > >> > >> SD card controllers to behave like the other controllers: > >

Re: [Qemu-devel] [PATCH 0/3] Drop default SD card creation

2012-08-16 Thread Peter Maydell
On 16 August 2012 15:11, Markus Armbruster wrote: > Peter Maydell writes: >> As suggested in the recent discussion on Markus' 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 func

Re: [Qemu-devel] [PATCH 0/3] Drop default SD card creation

2012-08-16 Thread Markus Armbruster
Peter Maydell writes: > 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

[Qemu-devel] [PATCH 0/3] Drop default SD card creation

2012-08-16 Thread Peter Maydell
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 w