summary refs log tree commit diff stats
path: root/linux-headers/asm-generic/hugetlb_encode.h
diff options
context:
space:
mode:
authorKirti Wankhede <kwankhede@nvidia.com>2020-10-26 15:06:19 +0530
committerAlex Williamson <alex.williamson@redhat.com>2020-11-01 12:30:50 -0700
commit3336d21710130a3d64c901aeae2dc66c364f93ad (patch)
tree303372259e972f8ccb81c3728b4a7a1b9f3c83dd /linux-headers/asm-generic/hugetlb_encode.h
parent1bc3c535ffbe512126a02b9f588497d5f5b7075b (diff)
downloadfocaccia-qemu-3336d21710130a3d64c901aeae2dc66c364f93ad.tar.gz
focaccia-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 'linux-headers/asm-generic/hugetlb_encode.h')
0 files changed, 0 insertions, 0 deletions