[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 0/3] qdev-clock: Minor improvements to the Clock API
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH v2 0/3] qdev-clock: Minor improvements to the Clock API |
Date: |
Thu, 1 Oct 2020 18:43:19 +0200 |
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
- [PATCH v2 0/3] qdev-clock: Minor improvements to the Clock API,
Philippe Mathieu-Daudé <=