Re: [PATCH v2 01/22] hw/rtc/mc146818rtc: QOM'ify IRQ number

2022-02-27 Thread Philippe Mathieu-Daudé
On 22/2/22 20:34, Bernhard Beschow wrote: Exposing the IRQ number as a QOM property not only allows it 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 --- hw/isa/piix4.c

[PATCH v2 01/22] hw/rtc/mc146818rtc: QOM'ify IRQ number

2022-02-22 Thread Bernhard Beschow
Exposing the IRQ number as a QOM property not only allows it 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 --- hw/isa/piix4.c | 2 +- hw/rtc/mc146818rtc.c | 13