diff options
author | Kirti Wankhede <kwankhede@nvidia.com> | 2020-10-26 15:06:14 +0530 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2020-11-01 12:30:50 -0700 |
commit | a9e271ec9b36ef4c7b5bc3b234c85d93931e192e (patch) | |
tree | b58e46baa6957b6fb2547d731d285f385b1d8583 /hw/vfio/meson.build | |
parent | c5e2fb3ce4dbb158732420fbd3b963eebbcd85c8 (diff) | |
download | qemu-a9e271ec9b36ef4c7b5bc3b234c85d93931e192e.zip qemu-a9e271ec9b36ef4c7b5bc3b234c85d93931e192e.tar.gz qemu-a9e271ec9b36ef4c7b5bc3b234c85d93931e192e.tar.bz2 |
vfio: Add migration region initialization and finalize function
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 <kwankhede@nvidia.com>
Reviewed-by: Neo Jia <cjia@nvidia.com>
Acked-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'hw/vfio/meson.build')
-rw-r--r-- | hw/vfio/meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/vfio/meson.build b/hw/vfio/meson.build index 37efa74..da9af29 100644 --- a/hw/vfio/meson.build +++ b/hw/vfio/meson.build @@ -2,6 +2,7 @@ vfio_ss = ss.source_set() vfio_ss.add(files( 'common.c', 'spapr.c', + 'migration.c', )) vfio_ss.add(when: 'CONFIG_VFIO_PCI', if_true: files( 'display.c', |