On 2013-07-01 22:44, Paolo Bonzini wrote: > Il 01/07/2013 20:34, Jan Kiszka ha scritto: >> The transformation looks correct, but I'm currently not understanding in >> which cases we still need the loop. address_space_translate should >> return as much of the target mr as the region can contiguously provide, no? > > You could have separate sections if, for example, two consecutive ranges > map to contiguous sections but one is read-only and one is read-write.
OK, makes sense. You can add my Reviewed-by: Jan Kiszka <jan.kis...@siemens.com> Jan -- Siemens AG, Corporate Technology, CT RTC ITP SES-DE Corporate Competence Center Embedded Linux