hw/vfio: Add number of dirty pages to vfio_get_dirty_bitmap tracepoint
authorJoao Martins <joao.m.martins@oracle.com>
Tue, 30 May 2023 18:05:56 +0000 (19:05 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 13 Jun 2023 09:28:58 +0000 (11:28 +0200)
commit6fe4f6c941923608027e10af5dd30f18d481f9b9
tree33d8412dd1e604caa234b3cb9ec5424ebcc25e9d
parentf80929f3af3a67a8111fbd9fc73705d4814bcf85
hw/vfio: Add number of dirty pages to vfio_get_dirty_bitmap tracepoint

Include the number of dirty pages on the vfio_get_dirty_bitmap tracepoint.
These are fetched from the newly added return value in
cpu_physical_memory_set_dirty_lebitmap().

Signed-off-by: Joao Martins <joao.m.martins@oracle.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Acked-by: Alex Williamson <alex.williamson@redhat.com>
Message-Id: <20230530180556.24441-3-joao.m.martins@oracle.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/vfio/common.c
hw/vfio/trace-events