Skip to contentSkip to conversation

docs/devel: Add VFIO device migration documentation

PATCH Superseded Tarun Gupta 2 participants 2 messages Apr 9, 2021 – Apr 12, 2021

v4 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

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
index 554be84b32..40e28ea84a 100644
@@ -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
index 7c424ea6d7..5e8ae580b0 100644
@@ -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
Reviewed-by on v4 1/1
#1 lore raw
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.

This still needs Kirti's S-o-b as well (i.e. both tags need to be paired.)

Quoted 14 lines

---
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

Quoted 6 lines

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.

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.