aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn Levon <john.levon@nutanix.com>2022-02-14 10:50:25 +0000
committerGitHub <noreply@github.com>2022-02-14 10:50:25 +0000
commit403bb2aa6784d445fe18825307cc85ca79820a01 (patch)
tree6441986882e48918e08298a33918c345c23e3c22 /test
parent2d1d87016133b6c2f38e4f6a5fca6be5b820653c (diff)
downloadlibvfio-user-403bb2aa6784d445fe18825307cc85ca79820a01.zip
libvfio-user-403bb2aa6784d445fe18825307cc85ca79820a01.tar.gz
libvfio-user-403bb2aa6784d445fe18825307cc85ca79820a01.tar.bz2
test/py: don't stop logging twice (#644)
We were accidentally calling VFIO_USER_DIRTY_PAGES twice. Signed-off-by: John Levon <john.levon@nutanix.com> Reviewed-by: Thanos Makatos <thanos.makatos@nutanix.com>
Diffstat (limited to 'test')
-rw-r--r--test/py/test_dirty_pages.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/test/py/test_dirty_pages.py b/test/py/test_dirty_pages.py
index 7a84124..a16f18d 100644
--- a/test/py/test_dirty_pages.py
+++ b/test/py/test_dirty_pages.py
@@ -332,11 +332,6 @@ def stop_logging():
msg(ctx, sock, VFIO_USER_DIRTY_PAGES, payload)
- payload = vfio_user_dirty_pages(argsz=len(vfio_user_dirty_pages()),
- flags=VFIO_IOMMU_DIRTY_PAGES_FLAG_STOP)
-
- msg(ctx, sock, VFIO_USER_DIRTY_PAGES, payload)
-
def test_dirty_pages_stop():
stop_logging()