[PATCH v2 0/3] qdev-clock: Minor improvements to the Clock API

Philippe Mathieu-Daudé posted 3 patches 3 years, 7 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20201001164322.1585392-1-f4bug@amsat.org
Test docker-quick@centos7 failed
Test docker-mingw@fedora failed
Test checkpatch failed
Test FreeBSD failed
include/qemu/cutils.h | 12 ++++++++++++
hw/core/qdev-clock.c  | 11 +++++++++++
qdev-monitor.c        |  8 +++++---
util/cutils.c         | 14 ++++++++++++++
4 files changed, 42 insertions(+), 3 deletions(-)
[PATCH v2 0/3] qdev-clock: Minor improvements to the Clock API
Posted by Philippe Mathieu-Daudé 3 years, 7 months ago
Handy patches while using the Clock API:
- display frequency in SI scaled unit
- display error hint when device lack clock support

Since v1:
- Avoid out-of-bound array access (Luc)

Patch missing review:
- #1 "Introduce freq_to_str() to display Hertz units"

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         | 14 ++++++++++++++
 4 files changed, 42 insertions(+), 3 deletions(-)

-- 
2.26.2