diff options
author | Avihai Horon <avihaih@nvidia.com> | 2023-06-21 14:11:58 +0300 |
---|---|---|
committer | Cédric Le Goater <clg@redhat.com> | 2023-06-30 06:02:51 +0200 |
commit | cf53efbbda2e45aad2f54b797f2ebfa001aad629 (patch) | |
tree | 3ac1e41533d4a09de52f107c6c33ab07c42b0081 /include/hw | |
parent | 7e6a5c730be49bd113a552cd2c4e4b91abfdd4fb (diff) | |
download | qemu-cf53efbbda2e45aad2f54b797f2ebfa001aad629.zip qemu-cf53efbbda2e45aad2f54b797f2ebfa001aad629.tar.gz qemu-cf53efbbda2e45aad2f54b797f2ebfa001aad629.tar.bz2 |
vfio/migration: Refactor vfio_save_block() to return saved data size
Refactor vfio_save_block() to return the size of saved data on success
and -errno on error.
This will be used in next patch to implement VFIO migration pre-copy
support.
Signed-off-by: Avihai Horon <avihaih@nvidia.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Tested-by: YangHang Liu <yanghliu@redhat.com>
Acked-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'include/hw')
0 files changed, 0 insertions, 0 deletions