summary refs log tree commit diff stats
path: root/scripts/qapi.py
diff options
context:
space:
mode:
authorEric Auger <eric.auger@linaro.org>2015-06-02 12:29:13 +0100
committerPeter Maydell <peter.maydell@linaro.org>2015-06-02 16:31:18 +0100
commit5f7a5a0edc4a2f65293658eb540290ddf9a1988a (patch)
treed8eccc99a31af35ab969f534665e33191f2f03f3 /scripts/qapi.py
parentac9d32e39664e060cd1b538ff190980d57ad69e4 (diff)
downloadfocaccia-qemu-5f7a5a0edc4a2f65293658eb540290ddf9a1988a.tar.gz
focaccia-qemu-5f7a5a0edc4a2f65293658eb540290ddf9a1988a.zip
hw/arm/virt: add dynamic sysbus device support
Allows sysbus devices to be instantiated from command line by
using -device option. Machvirt creates a platform bus at init.
The dynamic sysbus devices are attached to this platform bus device.

The platform bus device registers a machine init done notifier
whose role will be to bind the dynamic sysbus devices. Indeed
dynamic sysbus devices are created after machine init.

machvirt also registers a notifier that will build the device
tree nodes for the platform bus and its children dynamic sysbus
devices.

Signed-off-by: Eric Auger <eric.auger@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-id: 1433244554-12898-4-git-send-email-eric.auger@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'scripts/qapi.py')
0 files changed, 0 insertions, 0 deletions