vfio: Add save and load functions for VFIO PCI devices
authorKirti Wankhede <kwankhede@nvidia.com>
Mon, 26 Oct 2020 09:36:13 +0000 (15:06 +0530)
committerAlex Williamson <alex.williamson@redhat.com>
Sun, 1 Nov 2020 19:30:50 +0000 (12:30 -0700)
commitc5e2fb3ce4dbb158732420fbd3b963eebbcd85c8
tree9e5275ee7bee83cade44f07b02c619a49af78fdf
parente93b733bcf8ee185af14a0f90a217d51cf40e7ea
vfio: Add save and load functions for VFIO PCI devices

Added functions to save and restore PCI device specific data,
specifically config space of PCI device.

Signed-off-by: Kirti Wankhede <kwankhede@nvidia.com>
Reviewed-by: Neo Jia <cjia@nvidia.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
hw/vfio/pci.c
include/hw/vfio/vfio-common.h