summaryrefslogtreecommitdiffstats
path: root/hw/vfio/trace-events
diff options
context:
space:
mode:
authorKirti Wankhede2020-10-26 10:36:14 +0100
committerAlex Williamson2020-11-01 20:30:50 +0100
commita9e271ec9b36ef4c7b5bc3b234c85d93931e192e (patch)
treeb58e46baa6957b6fb2547d731d285f385b1d8583 /hw/vfio/trace-events
parentvfio: Add save and load functions for VFIO PCI devices (diff)
downloadqemu-a9e271ec9b36ef4c7b5bc3b234c85d93931e192e.tar.gz
qemu-a9e271ec9b36ef4c7b5bc3b234c85d93931e192e.tar.xz
qemu-a9e271ec9b36ef4c7b5bc3b234c85d93931e192e.zip
vfio: Add migration region initialization and finalize function
Whether the VFIO device supports migration or not is decided based of migration region query. If migration region query is successful and migration region initialization is successful then migration is supported else migration is blocked. Signed-off-by: Kirti Wankhede <kwankhede@nvidia.com> Reviewed-by: Neo Jia <cjia@nvidia.com> Acked-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'hw/vfio/trace-events')
-rw-r--r--hw/vfio/trace-events3
1 files changed, 3 insertions, 0 deletions
diff --git a/hw/vfio/trace-events b/hw/vfio/trace-events
index a0c7b49a2e..9ced5ec627 100644
--- a/hw/vfio/trace-events
+++ b/hw/vfio/trace-events
@@ -145,3 +145,6 @@ vfio_display_edid_link_up(void) ""
vfio_display_edid_link_down(void) ""
vfio_display_edid_update(uint32_t prefx, uint32_t prefy) "%ux%u"
vfio_display_edid_write_error(void) ""
+
+# migration.c
+vfio_migration_probe(const char *name, uint32_t index) " (%s) Region %d"