On 03.09.2021 12:08, Oleksandr Andrushchenko wrote: > From: Oleksandr Andrushchenko <oleksandr_andrushche...@epam.com> > > Instead of handling a single range set, that contains all the memory > regions of all the BARs and ROM, have them per BAR.
Without looking at how you carry out this change - this look wrong (as in: wasteful) to me. Despite ... > This is in preparation of making non-identity mappings in p2m for the > MMIOs/ROM. ... the need for this, every individual BAR is still contiguous in both host and guest address spaces, so can be represented as a single (start,end) tuple (or a pair thereof, to account for both host and guest values). No need to use a rangeset for this. Jan