qemu-riscv
[Top][All Lists]
Advanced

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

Re: [PATCH v2 4/8] hw/boards: Remove all invalid uses of auto_create_sdc


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v2 4/8] hw/boards: Remove all invalid uses of auto_create_sdcard=true
Date: Thu, 6 Feb 2025 11:12:46 +0100
User-agent: Mozilla Thunderbird

On 5/2/25 08:03, Markus Armbruster wrote:
Philippe Mathieu-Daudé <philmd@linaro.org> writes:

MachineClass::auto_create_sdcard is only useful to automatically
create a SD card, attach a IF_SD block drive to it and plug the
card onto a SD bus. Only the ARM and RISCV targets use such
feature:

  $ git grep -wl IF_SD hw | cut -d/ -f-2 | sort -u
  hw/arm
  hw/riscv
  $

Remove all other uses.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>

Impact?

As far as I can tell, this stops creation of the if=sd default drive
these machines don't actually use.  Correct?


Yes, since these machines don't expose a SD-bus, the drive can
not be attached and always triggers the same error:

$ qemu-system-hppa -sd /bin/sh
qemu-system-hppa: -sd /bin/sh: machine type does not support if=sd,bus=0,unit=0




reply via email to

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