summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorPaolo Bonzini2016-02-10 15:11:45 +0100
committerPeter Maydell2016-02-10 23:38:24 +0100
commit88c73d16ad1b6c22a2ab082064d0d521f756296a (patch)
tree3e907fb60f9291eb476655ebf1419b138bd4b3d7 /configure
parentMerge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging (diff)
downloadqemu-88c73d16ad1b6c22a2ab082064d0d521f756296a.tar.gz
qemu-88c73d16ad1b6c22a2ab082064d0d521f756296a.tar.xz
qemu-88c73d16ad1b6c22a2ab082064d0d521f756296a.zip
memory: fix usage of find_next_bit and find_next_zero_bit
The last two arguments to these functions are the last and first bit to check relative to the base. The code was using incorrectly the first bit and the number of bits. Fix this in cpu_physical_memory_get_dirty and cpu_physical_memory_all_dirty. This requires a few changes in the iteration; change the code in cpu_physical_memory_set_dirty_range to match. Fixes: 5b82b70 Cc: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Tested-by: Leon Alrae <leon.alrae@imgtec.com> Tested-by: Thomas Huth <thuth@redhat.com> Message-id: 1455113505-11237-1-git-send-email-pbonzini@redhat.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'configure')
0 files changed, 0 insertions, 0 deletions