qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH-for-5.2? 0/4] hw/arm: Add SD bus QOM alias on the machine/soc


From: Peter Maydell
Subject: Re: [PATCH-for-5.2? 0/4] hw/arm: Add SD bus QOM alias on the machine/soc
Date: Tue, 1 Dec 2020 13:20:00 +0000

On Tue, 24 Nov 2020 at 09:49, Philippe Mathieu-Daudé <f4bug@amsat.org> wrote:
>
> Easy fix for LP#1895895 suggested by Peter.
>
> As TYPE_ASPEED_SDHCI creates SDHCI inside a controller
> (not a SoC/machine) we don't bother modifying it yet.

So how on the command line do you specify plugging the SD
card into one of the new aliases?

I tried (with the sabrelite machine):
-drive file=/tmp/sdcard.img,format=raw,id=mysdcard -device
sd-card,drive=mysdcard,bus=sd-bus0

but QEMU gives the error:
qemu-system-arm: -device sd-card,drive=mysdcard,bus=sd-bus0: Bus
'sd-bus0' not found

Maybe my idea about the aliases turns out to be wrong ? :-(

thanks
-- PMM



reply via email to

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