summaryrefslogtreecommitdiffstats
path: root/fsdev
diff options
context:
space:
mode:
authorLuc Michel2020-10-12 11:57:47 +0200
committerPhilippe Mathieu-Daudé2020-10-16 18:58:10 +0200
commit5ebc664800b66f886f58cd4d5bcc7785644c9980 (patch)
tree08eb87f982aa2176c5d493ac2b32c7143d1ad006 /fsdev
parenthw/qdev-clock: Display error hint when clock is missing from device (diff)
downloadqemu-5ebc664800b66f886f58cd4d5bcc7785644c9980.tar.gz
qemu-5ebc664800b66f886f58cd4d5bcc7785644c9980.tar.xz
qemu-5ebc664800b66f886f58cd4d5bcc7785644c9980.zip
hw/core/clock: Add the clock_new helper function
This function creates a clock and parents it to another object with a given name. It calls clock_setup_canonical_path before returning the new clock. This function is useful to create clocks in devices when one doesn't want to expose it at the qdev level (as an input or an output). Suggested-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Luc Michel <luc@lmichel.fr> Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20201010135759.437903-4-luc@lmichel.fr> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'fsdev')
0 files changed, 0 insertions, 0 deletions