summary refs log tree commit diff stats
path: root/hw/core/clock.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>2020-10-12 11:57:46 +0200
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>2020-10-16 18:58:10 +0200
commit01d858629eae532f50f3dac6df9e6ab912626e00 (patch)
tree75ac094085be16c6bd9c4e73927a791335df3dac /hw/core/clock.c
parent709616c713f9471a993ad7d16bce23e8b88ce958 (diff)
downloadfocaccia-qemu-01d858629eae532f50f3dac6df9e6ab912626e00.tar.gz
focaccia-qemu-01d858629eae532f50f3dac6df9e6ab912626e00.zip
hw/qdev-clock: Display error hint when clock is missing from device
Instead of directly aborting, display a hint to help the developer
figure out the problem (likely trying to connect a clock to a device
pre-dating the Clock API, thus not expecting clocks).

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Luc Michel <luc@lmichel.fr>
Reviewed-by: Damien Hedde <damien.hedde@greensocs.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Message-Id: <20201012095804.3335117-4-f4bug@amsat.org>
Diffstat (limited to 'hw/core/clock.c')
0 files changed, 0 insertions, 0 deletions