diff options
| author | Thomas Huth | 2017-09-04 16:21:55 +0200 |
|---|---|---|
| committer | Peter Maydell | 2017-09-04 18:13:53 +0200 |
| commit | f58f25599b72c7479e6a1ff67c7f671823aa14da (patch) | |
| tree | 55d744dcda4ab44455e37f3f88d8c898f3f376b1 /exec.c | |
| parent | hw/arm/aspeed_soc: Mark devices as user_creatable = false (diff) | |
| download | qemu-f58f25599b72c7479e6a1ff67c7f671823aa14da.tar.gz qemu-f58f25599b72c7479e6a1ff67c7f671823aa14da.tar.xz qemu-f58f25599b72c7479e6a1ff67c7f671823aa14da.zip | |
hw/arm/digic: Mark device with user_creatable = false
QEMU currently shows some unexpected behavior when the user trys to
do a "device_add digic" on an unrelated ARM machine like integratorcp
in "-nographic" mode (the device_add command does not immediately
return to the monitor prompt), and trying to "device_del" the device
later results in a "qemu/qdev-monitor.c:872:qdev_unplug: assertion
failed: (hotplug_ctrl)" error condition.
Looking at the realize function of the device, it uses serial_hds
directly and this means that the device can not be added a second
time, so let's simply mark it with "user_creatable = false" now.
Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'exec.c')
0 files changed, 0 insertions, 0 deletions
