aboutsummaryrefslogtreecommitdiff
path: root/include/hw/vfio
diff options
context:
space:
mode:
authorMaciej S. Szmigiero <maciej.szmigiero@oracle.com>2024-11-04 22:29:07 +0100
committerCédric Le Goater <clg@redhat.com>2024-11-05 15:51:14 +0100
commit89b516152777a8b54b117d90690ed9be62ba1177 (patch)
treefc44d5fd5be39c58a54427d5209554fd5f730dda /include/hw/vfio
parent2564e451713e4f983b17c57ae62a05b73ddb0d96 (diff)
downloadqemu-89b516152777a8b54b117d90690ed9be62ba1177.zip
qemu-89b516152777a8b54b117d90690ed9be62ba1177.tar.gz
qemu-89b516152777a8b54b117d90690ed9be62ba1177.tar.bz2
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>
Diffstat (limited to 'include/hw/vfio')
-rw-r--r--include/hw/vfio/vfio-common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/vfio/vfio-common.h b/include/hw/vfio/vfio-common.h
index 282eadf..e0ce6ec 100644
--- a/include/hw/vfio/vfio-common.h
+++ b/include/hw/vfio/vfio-common.h
@@ -75,6 +75,7 @@ typedef struct VFIOMigration {
bool initial_data_sent;
bool event_save_iterate_started;
+ bool event_precopy_empty_hit;
} VFIOMigration;
struct VFIOGroup;