Re: [PATCH] hw/sd/sdcard: Allow user creation of eMMCs

2024-10-15 Thread Philippe Mathieu-Daudé
On 15/10/24 10:56, Jan Luebbe wrote: For testing eMMC-specific functionality (such as handling boot partitions), it would be very useful to attach them to generic VMs such as x86_64 via the sdhci-pci device: ... -drive if=none,id=emmc-drive,file=emmc.img,format=raw \ -device sdhci-pci \ -

Re: [PATCH] hw/sd/sdcard: Allow user creation of eMMCs

2024-10-15 Thread Cédric Le Goater
On 10/15/24 17:00, Philippe Mathieu-Daudé wrote: On 15/10/24 10:56, Jan Luebbe wrote: For testing eMMC-specific functionality (such as handling boot partitions), it would be very useful to attach them to generic VMs such as x86_64 via the sdhci-pci device:   ...   -drive if=none,id=emmc-drive,fi

Re: [PATCH] hw/sd/sdcard: Allow user creation of eMMCs

2024-10-15 Thread Daniel P . Berrangé
On Tue, Oct 15, 2024 at 05:17:26PM +0200, Cédric Le Goater wrote: > On 10/15/24 17:00, Philippe Mathieu-Daudé wrote: > > On 15/10/24 10:56, Jan Luebbe wrote: > > > For testing eMMC-specific functionality (such as handling boot > > > partitions), it would be very useful to attach them to generic VMs

Re: [PATCH] hw/sd/sdcard: Allow user creation of eMMCs

2024-10-15 Thread Cédric Le Goater
On 10/15/24 17:20, Daniel P. Berrangé wrote: On Tue, Oct 15, 2024 at 05:17:26PM +0200, Cédric Le Goater wrote: On 10/15/24 17:00, Philippe Mathieu-Daudé wrote: On 15/10/24 10:56, Jan Luebbe wrote: For testing eMMC-specific functionality (such as handling boot partitions), it would be very usef

[PATCH] hw/block: m25p80: support RDID_90 for Winbond

2024-10-15 Thread Nikita Shubin
From: Nikita Shubin Make Winbond support RDID_90 as all winbond SPI NOR Flashes support Read Manufacturer/Device ID (90h) command. Signed-off-by: Nikita Shubin --- hw/block/m25p80.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/hw/block/m25p80.c b/hw/block/m25p80.c index f712

[PATCH] hw/nvme: Remove references to PCI IRQ "pulsing" when asserting

2024-10-15 Thread julia
The NVMe subsystem logs "pulsing IRQ pin" when it is asserting the PCI(e) IRQ. This is confusing as it implies a short pulse, not the level-triggered interrupts PCI(e) uses. Also remove the pci_irq_pulse() function marked with FIXME as it is no longer used by any calls. Signed-off-by: julia ---

[PATCH] hw/sd/sdcard: Allow user creation of eMMCs

2024-10-15 Thread Jan Luebbe
For testing eMMC-specific functionality (such as handling boot partitions), it would be very useful to attach them to generic VMs such as x86_64 via the sdhci-pci device: ... -drive if=none,id=emmc-drive,file=emmc.img,format=raw \ -device sdhci-pci \ -device emmc,id=emmc0,drive=emmc-drive,boot-