KVM: Fix kvm_clear_dirty_log_protect off-by-(minus-)one
Just imaging the case where num_pages < BITS_PER_LONG, then the loop will be skipped while it shouldn't. Signed-off-by: Peter Xu <peterx@redhat.com> Fixes: 2a31b9dbSigned-off-by: Paolo Bonzini <pbonzini@redhat.com>
Showing
Please register or sign in to comment