diff options
author | Kirti Wankhede <kwankhede@nvidia.com> | 2020-11-23 19:53:19 +0530 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2020-11-23 10:05:58 -0700 |
commit | bb0990d1740f6dced5b50a923677034c9399c213 (patch) | |
tree | 27c13bfd5ff49d543731bb71646d89bd28d3936c /include/hw/vfio | |
parent | cf254988a50d4164c86a356c80b8d3ae0ccaa005 (diff) | |
download | qemu-bb0990d1740f6dced5b50a923677034c9399c213.zip qemu-bb0990d1740f6dced5b50a923677034c9399c213.tar.gz qemu-bb0990d1740f6dced5b50a923677034c9399c213.tar.bz2 |
vfio: Change default dirty pages tracking behavior during migration
By default dirty pages tracking is enabled during iterative phase
(pre-copy phase).
Added per device opt-out option 'x-pre-copy-dirty-page-tracking' to
disable dirty pages tracking during iterative phase. If the option
'x-pre-copy-dirty-page-tracking=off' is set for any VFIO device, dirty
pages tracking during iterative phase will be disabled.
Signed-off-by: Kirti Wankhede <kwankhede@nvidia.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'include/hw/vfio')
-rw-r--r-- | include/hw/vfio/vfio-common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/vfio/vfio-common.h b/include/hw/vfio/vfio-common.h index 2119872..6141162 100644 --- a/include/hw/vfio/vfio-common.h +++ b/include/hw/vfio/vfio-common.h @@ -130,6 +130,7 @@ typedef struct VFIODevice { unsigned int flags; VFIOMigration *migration; Error *migration_blocker; + OnOffAuto pre_copy_dirty_page_tracking; } VFIODevice; struct VFIODeviceOps { |