summaryrefslogtreecommitdiffstats
path: root/include/hw/qdev-clock.h
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2020-08-28 11:02:45 +0200
committerPeter Maydell2020-08-28 11:02:45 +0200
commit3ab928789537b8eaf4102ca4602fcd1630b1ec5e (patch)
tree7c5704ce7a7bd28e774e148487cb9b4199aac233 /include/hw/qdev-clock.h
parenthw/arm/xilinx_zynq: Uninline cadence_uart_create() (diff)
downloadqemu-3ab928789537b8eaf4102ca4602fcd1630b1ec5e.tar.gz
qemu-3ab928789537b8eaf4102ca4602fcd1630b1ec5e.tar.xz
qemu-3ab928789537b8eaf4102ca4602fcd1630b1ec5e.zip
hw/arm/xilinx_zynq: Call qdev_connect_clock_in() before DeviceRealize
Clock canonical name is set in device_set_realized (see the block added to hw/core/qdev.c in commit 0e6934f264). If we connect a clock after the device is realized, this code is not executed. This is currently not a problem as this name is only used for trace events, however this disrupt tracing. Fix by calling qdev_connect_clock_in() before realizing. Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-id: 20200803105647.22223-3-f4bug@amsat.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw/qdev-clock.h')
0 files changed, 0 insertions, 0 deletions