diff options
author | Kirti Wankhede | 2020-10-26 10:36:19 +0100 |
---|---|---|
committer | Alex Williamson | 2020-11-01 20:30:50 +0100 |
commit | 3336d21710130a3d64c901aeae2dc66c364f93ad (patch) | |
tree | 303372259e972f8ccb81c3728b4a7a1b9f3c83dd /softmmu/memory.c | |
parent | vfio: Add save state functions to SaveVMHandlers (diff) | |
download | qemu-3336d21710130a3d64c901aeae2dc66c364f93ad.tar.gz qemu-3336d21710130a3d64c901aeae2dc66c364f93ad.tar.xz qemu-3336d21710130a3d64c901aeae2dc66c364f93ad.zip |
vfio: Add load state functions to SaveVMHandlers
Sequence during _RESUMING device state:
While data for this device is available, repeat below steps:
a. read data_offset from where user application should write data.
b. write data of data_size to migration region from data_offset.
c. write data_size which indicates vendor driver that data is written in
staging buffer.
For user, data is opaque. User should write data in the same order as
received.
Signed-off-by: Kirti Wankhede <kwankhede@nvidia.com>
Reviewed-by: Neo Jia <cjia@nvidia.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Yan Zhao <yan.y.zhao@intel.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'softmmu/memory.c')
0 files changed, 0 insertions, 0 deletions