aboutsummaryrefslogtreecommitdiff
path: root/test/py/test_dirty_pages.py
diff options
context:
space:
mode:
authorWilliam Henderson <william.henderson@nutanix.com>2023-09-07 15:01:44 +0000
committerJohn Levon <john.levon@nutanix.com>2023-09-15 13:06:15 +0100
commite5b52d2a27bfa7fba24d5af75cf9ccf01ea9afbf (patch)
treedf62513280f1184e5e542780383746443946f276 /test/py/test_dirty_pages.py
parentafd91f8a067ea66b7c64362484f99c9e02a69097 (diff)
downloadlibvfio-user-e5b52d2a27bfa7fba24d5af75cf9ccf01ea9afbf.zip
libvfio-user-e5b52d2a27bfa7fba24d5af75cf9ccf01ea9afbf.tar.gz
libvfio-user-e5b52d2a27bfa7fba24d5af75cf9ccf01ea9afbf.tar.bz2
refactor migration tests and small test fixes
Signed-off-by: William Henderson <william.henderson@nutanix.com>
Diffstat (limited to 'test/py/test_dirty_pages.py')
-rw-r--r--test/py/test_dirty_pages.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/py/test_dirty_pages.py b/test/py/test_dirty_pages.py
index 8dfb45b..c85bcce 100644
--- a/test/py/test_dirty_pages.py
+++ b/test/py/test_dirty_pages.py
@@ -157,8 +157,8 @@ def get_dirty_page_bitmap(addr=0x10 << PAGE_SHIFT, length=0x10 << PAGE_SHIFT,
page_size=PAGE_SIZE, expect=0):
"""
Get the dirty page bitmap from the server for the given region and page
- size as a 64-bit integer. This only works for bitmaps that fit within a
- 64-bit integer.
+ size as a 64-bit integer. This function only works for bitmaps that fit
+ within a 64-bit integer because that's what it returns.
"""
bitmap_size = get_bitmap_size(length, page_size)