diff options
| author | Peter Xu <[email protected]> | 2019-05-08 09:15:46 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2019-05-08 11:43:28 +0000 |
| commit | 53eac7a8f8cf3d7dc5ecac1946f31442f5eee5f3 (patch) | |
| tree | ea638c4eda3b0e85c23b5a28342e5f028a3dacdf /lib/fault-inject.c | |
| parent | KVM: Fix the bitmap range to copy during clear dirty (diff) | |
| download | kernel-53eac7a8f8cf3d7dc5ecac1946f31442f5eee5f3.tar.gz kernel-53eac7a8f8cf3d7dc5ecac1946f31442f5eee5f3.zip | |
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 <[email protected]>
Fixes: 2a31b9db153530df4aa02dac8c32837bf5f47019
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions
