From b8234a75d9ec2c95cb889c0cef27927f34ad9cbc Mon Sep 17 00:00:00 2001 From: John Levon Date: Wed, 2 Jun 2021 15:04:10 +0100 Subject: clean up migration register definitions (#550) We should explicitly define the expected migration register contents for API users who aren't using the callbacks. Clean up some related lint. Signed-off-by: John Levon Reviewed-by: Thanos Makatos --- lib/migration_priv.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/migration_priv.h') diff --git a/lib/migration_priv.h b/lib/migration_priv.h index 1a0496f..340d507 100644 --- a/lib/migration_priv.h +++ b/lib/migration_priv.h @@ -48,7 +48,7 @@ struct migration { * TODO if the user provides an FD then should mmap it and use the migration * registers in the file */ - struct vfio_device_migration_info info; + struct vfio_user_migration_info info; size_t pgsize; vfu_migration_callbacks_t callbacks; uint64_t data_offset; -- cgit v1.1