diff options
author | Kirti Wankhede <kwankhede@nvidia.com> | 2020-10-26 15:06:15 +0530 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2020-11-01 12:30:50 -0700 |
commit | 02a7e71b1e5b1313060927e7c86a10be2d7083a7 (patch) | |
tree | b7be495a9c2ab9d141a12f4536a95b74d05ddcc0 /hw/smbios | |
parent | a9e271ec9b36ef4c7b5bc3b234c85d93931e192e (diff) | |
download | qemu-02a7e71b1e5b1313060927e7c86a10be2d7083a7.zip qemu-02a7e71b1e5b1313060927e7c86a10be2d7083a7.tar.gz qemu-02a7e71b1e5b1313060927e7c86a10be2d7083a7.tar.bz2 |
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/smbios')
0 files changed, 0 insertions, 0 deletions