On Fri, 23 Oct 2020 16:10:31 +0530 Kirti Wankhede <kwankh...@nvidia.com> wrote:
> 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 <kwankh...@nvidia.com> > Reviewed-by: Neo Jia <c...@nvidia.com> > Reviewed-by: Dr. David Alan Gilbert <dgilb...@redhat.com> Hm, this version looks a bit different from the one Dave gave his R-b for... does it still apply? > --- > hw/vfio/migration.c | 156 > ++++++++++++++++++++++++++++++++++++++++++ > hw/vfio/trace-events | 2 + > include/hw/vfio/vfio-common.h | 4 ++ > 3 files changed, 162 insertions(+) Reviewed-by: Cornelia Huck <coh...@redhat.com>