Skip to content
Snippets Groups Projects
Commit 53eac7a8 authored by Peter Xu's avatar Peter Xu Committed by Paolo Bonzini
Browse files

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: default avatarPeter Xu <peterx@redhat.com>
Fixes: 2a31b9db
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 4ddc9204
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment