summary refs log tree commit diff stats
path: root/include/hw
diff options
context:
space:
mode:
authorMaciej S. Szmigiero <maciej.szmigiero@oracle.com>2024-11-04 22:29:06 +0100
committerCédric Le Goater <clg@redhat.com>2024-11-05 15:51:14 +0100
commit2564e451713e4f983b17c57ae62a05b73ddb0d96 (patch)
treef9146efed44dde810897d7b36a32f5bc3cda2aa6 /include/hw
parent9a7b0a8618b1293d589a631183e80791ad7bf552 (diff)
downloadfocaccia-qemu-2564e451713e4f983b17c57ae62a05b73ddb0d96.tar.gz
focaccia-qemu-2564e451713e4f983b17c57ae62a05b73ddb0d96.zip
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>
Diffstat (limited to 'include/hw')
-rw-r--r--include/hw/vfio/vfio-common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/vfio/vfio-common.h b/include/hw/vfio/vfio-common.h
index fed499b199..282eadf4eb 100644
--- a/include/hw/vfio/vfio-common.h
+++ b/include/hw/vfio/vfio-common.h
@@ -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;