summaryrefslogtreecommitdiffstats
path: root/device-hotplug.c
diff options
context:
space:
mode:
authorPeter Maydell2019-01-29 12:46:05 +0100
committerPeter Maydell2019-01-29 12:46:05 +0100
commite5b517536cb47989236fbfe5bd69e644a1ff8467 (patch)
treed8ea24ddea8cee71a1e1794af35493aaa55dfdfd /device-hotplug.c
parentcheckpatch: Don't emit spurious warnings about block comments (diff)
downloadqemu-e5b517536cb47989236fbfe5bd69e644a1ff8467.tar.gz
qemu-e5b517536cb47989236fbfe5bd69e644a1ff8467.tar.xz
qemu-e5b517536cb47989236fbfe5bd69e644a1ff8467.zip
xlnx-zynqmp: Don't create rpu-cluster if there are no RPUs
If we aren't going to create any RPUs, then don't create the rpu-cluster unit. This allows us to add an assertion to the cluster object that it contains at least one CPU, which helps to avoid bugs in creating clusters and putting CPUs in them. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-id: 20190121184314.14311-1-peter.maydell@linaro.org
Diffstat (limited to 'device-hotplug.c')
0 files changed, 0 insertions, 0 deletions