vfio/migration: Add vfio_save_block_precopy_empty_hit trace event

This way it is clearly known when there's no more data to send for that
device.

Signed-off-by: Maciej S. Szmigiero <maciej.szmigiero@oracle.com>
This commit is contained in:
Maciej S. Szmigiero 2024-11-04 22:29:07 +01:00 committed by Cédric Le Goater
parent 2564e45171
commit 89b5161527
3 changed files with 10 additions and 0 deletions

View file

@ -75,6 +75,7 @@ typedef struct VFIOMigration {
bool initial_data_sent;
bool event_save_iterate_started;
bool event_precopy_empty_hit;
} VFIOMigration;
struct VFIOGroup;