diff options
author | Peter Xu <peterx@redhat.com> | 2019-05-08 12:15:46 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2019-05-08 14:43:28 +0300 |
commit | 53eac7a8f8cf3d7dc5ecac1946f31442f5eee5f3 (patch) | |
tree | ea638c4eda3b0e85c23b5a28342e5f028a3dacdf /tools/testing/selftests/kvm | |
parent | 4ddc9204572c33f2eb91fbdb1d99d8078388b67d (diff) | |
download | linux-53eac7a8f8cf3d7dc5ecac1946f31442f5eee5f3.tar.xz |
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: 2a31b9db153530df4aa02dac8c32837bf5f47019
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/testing/selftests/kvm')
0 files changed, 0 insertions, 0 deletions