On 09/03/21 17:26, Peter Maydell wrote:
The documentation comment for memory_region_snapshot_and_clear_dirty()
says:
  * The dirty bitmap region which gets copyed into the snapshot (and
  * cleared afterwards) can be larger than requested.  The boundaries
  * are rounded up/down

That is, it is the job of memory_region_snapshot_and_clear_dirty()
to round the boundaries up/down to whatever extent it requires
internally.

Or alternatively of the log_sync/log_clear callbacks. I'll queue a revert for now, anyway.

Paolo


Reply via email to