diff --git a/system/physmem.c b/system/physmem.c index 073e6c6124..e25c12d267 100644 --- a/system/physmem.c +++ b/system/physmem.c @@ -3146,7 +3146,7 @@ void *address_space_map(AddressSpace *as, memory_region_ref(mr); bounce.mr = mr; if (!is_write) { - flatview_read(fv, addr, MEMTXATTRS_UNSPECIFIED, + flatview_read(fv, addr, attrs, bounce.buffer, l); }