diff --git a/hw/intc/ioapic.c b/hw/intc/ioapic.c index 87ca1af542..1b3f1e824a 100644 --- a/hw/intc/ioapic.c +++ b/hw/intc/ioapic.c @@ -141,7 +141,8 @@ static void ioapic_service(IOAPICCommonState *s) * the IOAPIC message into a MSI one, and its * address space will decide whether we need a * translation. */ - stl_le_phys(ioapic_as, info.addr, info.data); + address_space_stl_le(ioapic_as, info.addr, info.data, + MEMTXATTRS_UNSPECIFIED, NULL); } } }