mbox series

[0/2] QOM improvements for rtc/mc146818rtc

Message ID 20220520174537.5827-1-shentey@gmail.com (mailing list archive)
Headers show
Series QOM improvements for rtc/mc146818rtc | expand

Message

Bernhard Beschow May 20, 2022, 5:45 p.m. UTC
This little series enhances QOM support for mc146818rtc:
* makes microvm-dt respect mc146818rtc's IRQ number set by QOM property and
* adds an io_base QOM property similar to other ISA devices

Bernhard Beschow (2):
  hw/i386/microvm-dt: Determine mc146818rtc's IRQ number from QOM
    property
  rtc/mc146818rtc: QOM'ify io_base offset

 hw/i386/microvm-dt.c         | 4 ++--
 hw/rtc/mc146818rtc.c         | 7 ++++---
 include/hw/rtc/mc146818rtc.h | 2 +-
 3 files changed, 7 insertions(+), 6 deletions(-)