diff --git a/system/physmem.c b/system/physmem.c index 78f7db1121..7890f2019d 100644 --- a/system/physmem.c +++ b/system/physmem.c @@ -3177,7 +3177,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); }