]> git.proxmox.com Git - mirror_qemu.git/commit
hw/arm: Don't fail qtest due to missing SD card in -nodefaults mode
authorThomas Huth <thuth@redhat.com>
Fri, 4 May 2018 17:05:51 +0000 (18:05 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 4 May 2018 17:05:51 +0000 (18:05 +0100)
commita82929a251481af1467569810ec309b57558f7fe
treecd9c8cc4db07055bb10c122ce1828e16e3ca8ae7
parenta8766e3172c1671cab297c1ef4566a3c5d094822
hw/arm: Don't fail qtest due to missing SD card in -nodefaults mode

When running omap1/2 or pxa2xx based ARM machines with -nodefaults,
they bail out immediately complaining about a "missing SecureDigital
device". That's not how the "default" devices in vl.c are meant to
work - it should be possible for a board to also start up without
default devices. So let's turn the error message and exit() into
a warning instead.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-id: 1525326811-3233-1-git-send-email-thuth@redhat.com
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/omap1.c
hw/arm/omap2.c
hw/arm/pxa2xx.c