summary refs log tree commit diff stats
path: root/hw/display/omap_dss.c
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2017-11-07 13:03:51 +0000
committerPeter Maydell <peter.maydell@linaro.org>2017-11-07 13:03:51 +0000
commite4e05b7b3e28970bcb9c0032dc46e30950e75f18 (patch)
tree3e5a520a247a78db1b86f1ce69d4f8be0b1cf99a /hw/display/omap_dss.c
parent5e0c7044b9149fb39f13494d4baaedbe7ae7bed9 (diff)
downloadfocaccia-qemu-e4e05b7b3e28970bcb9c0032dc46e30950e75f18.tar.gz
focaccia-qemu-e4e05b7b3e28970bcb9c0032dc46e30950e75f18.zip
hw/arm: Mark the "fsl,imx31" device with user_creatable = false
QEMU currently crashes when the user tries to instantiate the fsl,imx31
device manually:

$ aarch64-softmmu/qemu-system-aarch64 -M kzm -device fsl,,imx31
**
ERROR:/home/thuth/devel/qemu/tcg/tcg.c:538:tcg_register_thread:
 assertion failed: (n < max_cpus)
Aborted (core dumped)

The kzm board (which is the one that uses this CPU type) only supports
one CPU, and the realize function of the "fsl,imx31" device also uses
serial_hds[] directly, so this device clearly can not be instantiated
twice and thus we should mark it with user_creatable = false.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-id: 1509519537-6964-4-git-send-email-thuth@redhat.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/display/omap_dss.c')
0 files changed, 0 insertions, 0 deletions