diff options
author | Thanos Makatos <thanos.makatos@nutanix.com> | 2021-01-27 16:56:42 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-27 16:56:42 +0000 |
commit | 8adcf8f0394e68bdc04a75361898ff57bc29ddbc (patch) | |
tree | aad7070b51863c3a0c77fd4770ca49b37af8ee38 /lib/libvfio-user.c | |
parent | fe8079d3a6c5d8d7ac2da1a747ae363668d0f9e2 (diff) | |
download | libvfio-user-8adcf8f0394e68bdc04a75361898ff57bc29ddbc.zip libvfio-user-8adcf8f0394e68bdc04a75361898ff57bc29ddbc.tar.gz libvfio-user-8adcf8f0394e68bdc04a75361898ff57bc29ddbc.tar.bz2 |
allow device to specify data_offset when resuming (#272)
Handling data_offset and data_size internally is wrong: we can't simply
assume that the migration data should be appending to the migration
region, devices might have their own requirements.
This also requires a way for the device to return the data_offset, we
do this by making the prepare_data callback applicable in resume state.
Also, allow migration read/write callabcks to return errors.
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
Diffstat (limited to 'lib/libvfio-user.c')
0 files changed, 0 insertions, 0 deletions