hw/arm/bcm2836: Mark the bcm2836 / bcm2837 devices with user_creatable = false
commitcccf96c3d4263125e6d2c23ad264001ca2e6fffa
authorThomas Huth <thuth@redhat.com>
Mon, 16 Jul 2018 16:18:41 +0000 (16 17:18 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 16 Jul 2018 16:18:41 +0000 (16 17:18 +0100)
treea789db0ff17a3050a128f47bc130e0b42784c10c
parent7995206d057409cff9d4e850bdc8296c8fc21d38
hw/arm/bcm2836: Mark the bcm2836 / bcm2837 devices with user_creatable = false

These devices are currently causing some problems when a user is trying
to hot-plug or introspect them during runtime. Since these devices can
not be instantiated by the user at all (they need to be wired up in code
instead), we should mark them with user_creatable = false anyway, then we
avoid at least the crashes with the hot-plugging. The introspection problem
will be handled by a separate patch.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-id: 1531415537-26037-1-git-send-email-thuth@redhat.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/bcm2836.c