aboutsummaryrefslogtreecommitdiff
path: root/hw/i386/microvm-dt.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/i386/microvm-dt.c')
-rw-r--r--hw/i386/microvm-dt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i386/microvm-dt.c b/hw/i386/microvm-dt.c
index 287818c..b3049e4 100644
--- a/hw/i386/microvm-dt.c
+++ b/hw/i386/microvm-dt.c
@@ -210,7 +210,7 @@ static void dt_add_isa_rtc(MicrovmMachineState *mms, ISADevice *dev)
{
const char compat[] = "motorola,mc146818";
uint32_t irq = object_property_get_uint(OBJECT(dev), "irq", &error_fatal);
- hwaddr base = RTC_ISA_BASE;
+ hwaddr base = object_property_get_uint(OBJECT(dev), "iobase", &error_fatal);
hwaddr size = 8;
char *nodename;