On 27/10/25 13:35, Daniel P. Berrangé wrote:
On Mon, Oct 27, 2025 at 01:23:56PM +0100, Philippe Mathieu-Daudé wrote:
On 27/10/25 12:55, Daniel P. Berrangé wrote:
On Fri, Oct 17, 2025 at 02:03:54PM +0200, Jan Kiszka wrote:
From: Jan Kiszka <[email protected]>
Enable user-instantiation so that PCI-attached eMMCs can be created for
virt machines, for QA purposes for the eMMC model itself and for complex
firmware/OS integrations using the upcoming RPMB partition support.
IIUC, the 'emmc' device wants an 'sd-bus' but this commit talks about
it being PCI-attached ?
Sigh, it should not, but it got introduced this way and we didn't
have time / energy / good reason to rework the code, which currently
just works.
SD / MMC cards -> plugged over external SD bus
embedded MMC cards -> no SD bus, directly mmio-mapped.
Can you elaborate on / illustrate the usage example for an end user ?
Saving time by testing virtual hardware, without having to implement a
real model.
Ok, more specifically, what are the suggested QEMU command line
args to make use of this with PCI ?
See patch #6 documentation:
+ -drive file=emmc.img,if=none,format=raw,id=emmc-img
+ -device sdhci-pci
+ -device
emmc,drive=emmc-img,boot-partition-size=1048576,rpmb-partition-size=2097152