vfio/migration: Add save_{iterate, complete_precopy}_start trace events

This way both the start and end points of migrating a particular VFIO
device are known.

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

View file

@ -73,6 +73,8 @@ typedef struct VFIOMigration {
uint64_t precopy_init_size;
uint64_t precopy_dirty_size;
bool initial_data_sent;
bool event_save_iterate_started;
} VFIOMigration;
struct VFIOGroup;