aboutsummaryrefslogtreecommitdiff
path: root/hw/vfio/amd-xgbe.c
diff options
context:
space:
mode:
authorKirti Wankhede <kwankhede@nvidia.com>2020-10-26 15:06:15 +0530
committerAlex Williamson <alex.williamson@redhat.com>2020-11-01 12:30:50 -0700
commit02a7e71b1e5b1313060927e7c86a10be2d7083a7 (patch)
treeb7be495a9c2ab9d141a12f4536a95b74d05ddcc0 /hw/vfio/amd-xgbe.c
parenta9e271ec9b36ef4c7b5bc3b234c85d93931e192e (diff)
vfio: Add VM state change handler to know state of VM
VM state change handler is called on change in VM's state. Based on VM state, VFIO device state should be changed. Added read/write helper functions for migration region. Added function to set device_state. 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: Cornelia Huck <cohuck@redhat.com> [aw: lx -> HWADDR_PRIx, remove redundant parens] Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'hw/vfio/amd-xgbe.c')
0 files changed, 0 insertions, 0 deletions