Handy patches while using the Clock API:
- display frequency in SI scaled unit
- display error hint when device lack clock support
Philippe Mathieu-Daudé (3):
util/cutils: Introduce freq_to_str() to display Hertz units
qdev-monitor: Display frequencies scaled to SI unit
hw/qdev-clock: Display error hint when clock is missing from device
include/qemu/cutils.h | 12 ++++++++++++
hw/core/qdev-clock.c | 11 +++++++++++
qdev-monitor.c | 8 +++++---
util/cutils.c | 10 ++++++++++
4 files changed, 38 insertions(+), 3 deletions(-)
--
2.26.2