Re: [PATCH 2/2] rtc/mc146818rtc: QOM'ify io_base offset

2022-05-22 Thread Bernhard Beschow
Am 22. Mai 2022 12:13:48 UTC schrieb Mark Cave-Ayland : >On 22/05/2022 10:07, Bernhard Beschow wrote: > >> On Sat, May 21, 2022 at 11:24 AM Mark Cave-Ayland >> mailto:mark.cave-ayl...@ilande.co.uk>> wrote: >> >> On 20/05/2022 18:45, Bernhard Beschow wrote: >> >> > Exposing the io_base

Re: [PATCH 2/2] rtc/mc146818rtc: QOM'ify io_base offset

2022-05-22 Thread Mark Cave-Ayland
On 22/05/2022 10:07, Bernhard Beschow wrote: On Sat, May 21, 2022 at 11:24 AM Mark Cave-Ayland > wrote: On 20/05/2022 18:45, Bernhard Beschow wrote: > Exposing the io_base offset as a QOM property not only allows it to be > configurable but

Re: [PATCH 2/2] rtc/mc146818rtc: QOM'ify io_base offset

2022-05-22 Thread Bernhard Beschow
On Sat, May 21, 2022 at 11:24 AM Mark Cave-Ayland < mark.cave-ayl...@ilande.co.uk> wrote: > On 20/05/2022 18:45, Bernhard Beschow wrote: > > > Exposing the io_base offset as a QOM property not only allows it to be > > configurable but also to be displayed in HMP: > > > > Before: > > > > (qemu)

Re: [PATCH 2/2] rtc/mc146818rtc: QOM'ify io_base offset

2022-05-21 Thread Mark Cave-Ayland
On 20/05/2022 18:45, Bernhard Beschow wrote: Exposing the io_base offset as a QOM property not only allows it to be configurable but also to be displayed in HMP: Before: (qemu) info qtree ... dev: mc146818rtc, id "" gpio-out "" 1 base_year = 0

[PATCH 2/2] rtc/mc146818rtc: QOM'ify io_base offset

2022-05-20 Thread Bernhard Beschow
Exposing the io_base offset as a QOM property not only allows it to be configurable but also to be displayed in HMP: Before: (qemu) info qtree ... dev: mc146818rtc, id "" gpio-out "" 1 base_year = 0 (0x0) irq = 8 (0x8)