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: 2a31b9db Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
parent
4ddc9204
Please register or sign in to comment