summaryrefslogtreecommitdiffstats
path: root/target/arm/cpu.h
diff options
context:
space:
mode:
authorMarkus Armbruster2018-10-24 08:50:16 +0200
committerPeter Maydell2018-10-24 08:50:16 +0200
commit61e9e3cb45c378c1e705d67ff66e5936249539c8 (patch)
tree03410509937eb441ad1c16fa0854bb90464144fb /target/arm/cpu.h
parentMerge remote-tracking branch 'remotes/armbru/tags/pull-error-2018-10-22' into... (diff)
downloadqemu-61e9e3cb45c378c1e705d67ff66e5936249539c8.tar.gz
qemu-61e9e3cb45c378c1e705d67ff66e5936249539c8.tar.xz
qemu-61e9e3cb45c378c1e705d67ff66e5936249539c8.zip
ssi-sd: Make devices picking up backends unavailable with -device
Device models aren't supposed to go on fishing expeditions for backends. They should expose suitable properties for the user to set. For onboard devices, board code sets them. Device ssi-sd picks up its block backend in its init() method with drive_get_next() instead. This mistake is already marked FIXME since commit af9e40a. Unset user_creatable to remove the mistake from our external interface. Since the SSI bus doesn't support hotplug, only -device can be affected. Only certain ARM machines have ssi-sd and provide an SSI bus for it; this patch breaks -device ssi-sd for these machines. No actual use of -device ssi-sd is known. Signed-off-by: Markus Armbruster <armbru@redhat.com> Acked-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Acked-by: Thomas Huth <thuth@redhat.com> Message-id: 20181009060835.4608-1-armbru@redhat.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target/arm/cpu.h')
0 files changed, 0 insertions, 0 deletions