On Fri, Sep 17, 2021 at 05:36:57PM +0000, David Matlack wrote: > The calculation to get the per-slot dirty bitmap was incorrect leading > to a buffer overrun. Fix it by splitting out the dirty bitmap into a > separate bitmap per slot. > > Fixes: 609e6202ea5f ("KVM: selftests: Support multiple slots in dirty_log_perf_test") > Signed-off-by: David Matlack <dmatlack@xxxxxxxxxx> > --- > .../selftests/kvm/dirty_log_perf_test.c | 54 +++++++++++++------ > 1 file changed, 39 insertions(+), 15 deletions(-) > Reviewed-by: Andrew Jones <drjones@xxxxxxxxxx>