diff options
author | John Levon <john.levon@nutanix.com> | 2022-02-14 10:50:25 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-14 10:50:25 +0000 |
commit | 403bb2aa6784d445fe18825307cc85ca79820a01 (patch) | |
tree | 6441986882e48918e08298a33918c345c23e3c22 | |
parent | 2d1d87016133b6c2f38e4f6a5fca6be5b820653c (diff) | |
download | libvfio-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>
-rw-r--r-- | test/py/test_dirty_pages.py | 5 |
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() |