diff options
author | Thomas Huth | 2017-11-07 14:03:51 +0100 |
---|---|---|
committer | Peter Maydell | 2017-11-07 14:03:51 +0100 |
commit | 5e0c7044b9149fb39f13494d4baaedbe7ae7bed9 (patch) | |
tree | 7b5e12e2fe3668d0708bb73baed0bea062a16495 /hw/intc/aspeed_vic.c | |
parent | hw/arm: Mark the "fsl,imx6" device with user_creatable = false (diff) | |
download | qemu-5e0c7044b9149fb39f13494d4baaedbe7ae7bed9.tar.gz qemu-5e0c7044b9149fb39f13494d4baaedbe7ae7bed9.tar.xz qemu-5e0c7044b9149fb39f13494d4baaedbe7ae7bed9.zip |
hw/arm: Mark the "fsl,imx25" device with user_creatable = false
QEMU currently crashes when the user tries to instantiate the fsl,imx25
device manually:
$ aarch64-softmmu/qemu-system-aarch64 -S -M imx25-pdk -device fsl,,imx25
**
ERROR:/home/thuth/devel/qemu/tcg/tcg.c:538:tcg_register_thread:
assertion failed: (n < max_cpus)
The imx25-pdk board (which is the one that uses this CPU type) only
supports one CPU, and the realize function of the "fsl,imx25" device
also uses serial_hds[] directly, so this device clearly can not be
instantiated twice and thus we should mark it with user_creatable = 0.
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-id: 1509519537-6964-3-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/intc/aspeed_vic.c')
0 files changed, 0 insertions, 0 deletions