|
From: | Philippe Mathieu-Daudé |
Subject: | Re: [PATCH v2 03/22] hw/input/pckbd: QOM'ify IRQ numbers |
Date: | Sun, 27 Feb 2022 23:14:19 +0100 |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 |
On 22/2/22 20:34, Bernhard Beschow wrote:
Exposing the IRQ numbers as a QOM properties not only allows them to be configurable but also to be printed by standard QOM mechanisms. This allows isabus_dev_print() to be retired eventually. Signed-off-by: Bernhard Beschow <shentey@gmail.com> --- hw/input/pckbd.c | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-)
Using uint8_t and "%u" format: Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
[Prev in Thread] | Current Thread | [Next in Thread] |