From: "Maciej S. Szmigiero" <maciej.szmigiero@oracle.com>
This is essentially the v2 patch from here:
https://lore.kernel.org/qemu-devel/8fbb9cc40d9db570eff0a02e49104835014a5a4d.1730731549.git.maciej.szmigiero@oracle.com/
split into two separate patches, with a few small requested changes, like:
* Rename vfio_precopy_empty_hit into vfio_save_block_precopy_empty_hit,
* Add an 'event_' prefix to the related struct VFIOMigration new members,
* Change trace event '_started' suffix to '_start' for consistency with
other trace events (but keep the variable name as 'started' since it
tracks whether that event has already happened).
Maciej S. Szmigiero (2):
vfio/migration: Add save_{iterate,complete_precopy}_start trace events
vfio/migration: Add vfio_save_block_precopy_empty_hit trace event
hw/vfio/migration.c | 17 +++++++++++++++++
hw/vfio/trace-events | 3 +++
include/hw/vfio/vfio-common.h | 3 +++
3 files changed, 23 insertions(+)