From 403bb2aa6784d445fe18825307cc85ca79820a01 Mon Sep 17 00:00:00 2001 From: John Levon Date: Mon, 14 Feb 2022 10:50:25 +0000 Subject: test/py: don't stop logging twice (#644) We were accidentally calling VFIO_USER_DIRTY_PAGES twice. Signed-off-by: John Levon Reviewed-by: Thanos Makatos --- test/py/test_dirty_pages.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'test') 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() -- cgit v1.1