On Fri, Feb 21, 2020 at 05:41:57PM +0100, David Hildenbrand wrote: > We want to make use of ram_block_discard_range() in the RAM block resize > callback when growing a RAM block, *before* used_length is changed. > Let's relax the check. We always have a reserved mapping for the whole > max_length, so we cannot corrupt unrelated data. > > Cc: Richard Henderson <[email protected]> > Cc: Paolo Bonzini <[email protected]> > Cc: Eduardo Habkost <[email protected]> > Cc: Peter Xu <[email protected]> > Signed-off-by: David Hildenbrand <[email protected]>
Reviewed-by: Peter Xu <[email protected]> -- Peter Xu
