docs/devel: Add VFIO device migration documentation
PATCH v4 1/1 docs/devel: Add VFIO device migration documentation
Document interfaces used for VFIO device migration. Added flow of state changes during live migration with VFIO device.
---
Tested by building docs with new vfio-migration.rst file
v4:
- Added info about vfio_listener_log_global_[start|stop]
- Added info about save_state callback.
- Incorporated comments from v3.
v3:
- Add introductory line about VM migration in general.
- Remove occurcences of vfio_pin_pages() to describe pinning.
- Incorporated comments from v2
v2:
- Included the new vfio-migration.rst file in index.rst
- Updated dirty page tracking section, also added details about 'pre-copy-dirty-page-tracking' opt-out option.
- Incorporated comments around wording of doc.
MAINTAINERS | 1 + docs/devel/index.rst | 1 + docs/devel/vfio-migration.rst | 150 ++++++++++++++++++++++++++++++++++ 3 files changed, 152 insertions(+) create mode 100644 docs/devel/vfio-migration.rst
MAINTAINERS +1 -0
@@ -1826,6 +1826,7 @@ S: Supported F: hw/vfio/* F: include/hw/vfio/ F: docs/igd-assign.txt +F: docs/devel/vfio-migration.rst vfio-ccw M: Cornelia Huck <[email protected]>
docs/devel/index.rst +1 -0
@@ -40,3 +40,4 @@ Contents: qom block-coroutine-wrapper multi-process + vfio-migration
docs/devel/vfio-migration.rst new file +150 -0
150 lines not on this page · raw message
Signature · 1 line
2.27.0
Quoted 4 lines · On Fri, 9 Apr 2021 19:13:46 +0530 Tarun Gupta <[email protected]> wrote:
Document interfaces used for VFIO device migration. Added flow of state changes during live migration with VFIO device.
Co-developed-by Kirti Wankhede <[email protected]>
This still needs Kirti's S-o-b as well (i.e. both tags need to be paired.)
Quoted 14 lines
Signed-off-by Tarun Gupta <[email protected]>---
Tested by building docs with newvfio-migration.rstfilev4:
- Added info about vfio_listener_log_global_[start|stop]
- Added info aboutsave_statecallback.
- Incorporated comments from v3.v3:
- Add introductory line about VM migration in general.
- Remove occurcences ofvfio_pin_pages()to describe pinning.
- Incorporated comments from v2
Quoted 6 lines
v2:
- Included the newvfio-migration.rstfile inindex.rst
- Updated dirty page tracking section, also added details about 'pre-copy-dirty-page-tracking' opt-out option.
- Incorporated comments around wording of doc.
The change log and the other extra information also need to be followed by another '---'.
Quoted 5 lines
MAINTAINERS | 1 + docs/devel/index.rst | 1 + docs/devel/vfio-migration.rst | 150 ++++++++++++++++++++++++++++++++++ 3 files changed, 152 insertions(+) create mode 100644 docs/devel/vfio-migration.rst
Aside from the meta issues above, the patch looks good to me.