[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-block] [PATCH 04/10] hw/sd: Add QOM bus which SD cards plug in

From: Peter Crosthwaite
Subject: Re: [Qemu-block] [PATCH 04/10] hw/sd: Add QOM bus which SD cards plug in to
Date: Fri, 8 Jan 2016 06:51:03 -0800

On Thu, Jan 7, 2016 at 10:09 AM, Peter Maydell <address@hidden> wrote:
> On 20 December 2015 at 20:51, Peter Crosthwaite
> <address@hidden> wrote:
>> On Sun, Dec 20, 2015 at 9:10 AM, Peter Maydell <address@hidden> wrote:
>>> For user-level back compat I think we need to retain "might have
>>> an sdcard object with no block backend, and that means
>>> 'no-card-present'". This is both for the user facing
>>> monitor commands to manipulate the sd card, and also
>> What are the user-facing monitor commands? I tried using "change" and
>> "eject", but they don't seem to work for SD, due to the tray being
>> closed. Has this ever worked in a way that is user manipulatable for
>> SD or is it just to handle the case of unconditional SD card creation
>> (with the card never hotplugging over the system lifetime)?
> I investigated this, and it looks like we accidentally broke
> 'change' for SD cards in 2.5 (specifically in commit de2c6c05).
> I think we should fix that regression, which in turn implies that
> we still want to support the "sd card object with no block backend" case.

Yes, saw the patches on list. I guess we are stuck with it. It would
be good to do this in a way that supports use of the hotplug API
alongside though, so SDIO device could all be ejected and inserted
with the same way.


> thanks
> -- PMM

reply via email to

[Prev in Thread] Current Thread [Next in Thread]