On Mon, 26 Oct 2020 15:06:14 +0530 Kirti Wankhede <kwankh...@nvidia.com> wrote:
> Whether the VFIO device supports migration or not is decided based of > migration region query. If migration region query is successful and migration > region initialization is successful then migration is supported else > migration is blocked. > > Signed-off-by: Kirti Wankhede <kwankh...@nvidia.com> > Reviewed-by: Neo Jia <c...@nvidia.com> > Acked-by: Dr. David Alan Gilbert <dgilb...@redhat.com> > --- > hw/vfio/meson.build | 1 + > hw/vfio/migration.c | 122 > ++++++++++++++++++++++++++++++++++++++++++ > hw/vfio/trace-events | 3 ++ > include/hw/vfio/vfio-common.h | 9 ++++ > 4 files changed, 135 insertions(+) > create mode 100644 hw/vfio/migration.c Reviewed-by: Cornelia Huck <coh...@redhat.com>