Skip to contentSkip to conversation

In-tree feature documentation

RFC Superseded Andrew Cooper 3 participants 10 messages Aug 24, 2015 – Aug 25, 2015

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

cover In-tree feature documentation

An issue which Xen has is an uncertain support statement for features. Given the success seen with docs/misc/xen-command-line.markdown, and in particular keeping it up to date, introduce a similar system for features.

Patch 1 introduces a proposed template (and a makefile tweak to include the new docs/features subdirectory), while patch 2 is a feature document covering the topic of migration.

This is tagged RFC as I expect people to have different views as to what is useful to include. I would particilarly appreciate feedback on the template before it starts getting used widely.

Lars: Does this look like a reasonable counterpart to your formal support statement document?

Jim: Per your request at the summit for new information, is patch 2 suitable?

Andrew Cooper (2):
docs: Template for feature documents
docs: Migration feature document

 docs/Makefile                  |    2 +-
 docs/features/migration.pandoc |   90 ++++++++++++++++++++++++++++++++++++++++
 docs/features/template.pandoc  |   55 ++++++++++++++++++++++++
 3 files changed, 146 insertions(+), 1 deletion(-)
 create mode 100644 docs/features/migration.pandoc
 create mode 100644 docs/features/template.pandoc
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/2 docs: Template for feature documents

---
 docs/Makefile                 |    2 +-
 docs/features/template.pandoc |   55 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+), 1 deletion(-)
 create mode 100644 docs/features/template.pandoc
docs/Makefile +1 -1
index 272292c..5d620e5 100644
@@ -16,7 +16,7 @@ MARKDOWNSRC-y := $(sort $(shell find misc -name '*.markdown' -print))
 
 TXTSRC-y := $(sort $(shell find misc -name '*.txt' -print))
 
-PANDOCSRC-y := $(sort $(shell find specs -name '*.pandoc' -print))
+PANDOCSRC-y := $(sort $(shell find features/ misc/ specs/ -name '*.pandoc' -print))
 
 # Documentation targets
 DOC_MAN1 := $(patsubst man/%.pod.1,man1/%.1,$(MAN1SRC-y))
docs/features/template.pandoc new file +55 -0

55 lines not on this page · raw message

Signature · 1 line
1.7.10.4
#2 lore raw

Re: [PATCH for-4.6 1/2] docs: Template for feature documents

Quoted 39 lines · Andrew Cooper
---
  docs/Makefile                 |    2 +-
  docs/features/template.pandoc |   55 +++++++++++++++++++++++++++++++++++++++++
  2 files changed, 56 insertions(+), 1 deletion(-)

create mode 100644 docs/features/template.pandoc

docs/Makefile +1 -1
index 272292c..5d620e5 100644
@@ -16,7 +16,7 @@ MARKDOWNSRC-y := $(sort $(shell find misc -name '*.markdown' -print))
 
  TXTSRC-y := $(sort $(shell find misc -name '*.txt' -print))
 
-PANDOCSRC-y := $(sort $(shell find specs -name '*.pandoc' -print))
+PANDOCSRC-y := $(sort $(shell find features/ misc/ specs/ -name '*.pandoc' -print))
 
  # Documentation targets
  DOC_MAN1 := $(patsubst man/%.pod.1,man1/%.1,$(MAN1SRC-y))
docs/features/template.pandoc new file +13 -0
new file mode 100644
index 0000000..d883b82
@@ -0,0 +1,55 @@
+% Template for feature documents
+
+\clearpage
+
+This is a suggested template for formatting of a Xen feature document in tree.
+
+The purpose of this document is to provide a concrete support statement for the
+feature (indicating its security status), as well as brief user and technical
+documentation.
+
+# Basics
+
+A table with an overview of the support status and applicability.

docs/features/template.pandoc line 23

Quoted 10 lines
docs/features/template.pandoc new file +10 -0
+
+---------------- ----------------------------------------------------
+         Status: e.g. **Supported**/**Tech Preview**/**Experimental**
+
+Architecture(s): e.g. x86, arm
+
+   Component(s): e.g. Hypervisor, toolstack, guest
+
+       Hardware: _where applicable_
+---------------- ----------------------------------------------------

What about adding some information when the feature was introduced or some other historical stuff? Something like:

Experimental in Xen 4.1
Supported in Xen 4.3
xl syntax changed in Xen 4.4

Juergen

Quoted 33 lines
docs/features/template.pandoc new file +32 -0
+
+# Overview
+
+A short description the feature, similar to an abstract for a
+paper/presentation.
+
+# User information
+
+Information for a user attempting to use the feature.  Should include how to
+enable the feature (is it enabled by default? If not, how to turn it on?), and
+how to interact with the feature (typically via `xl`).
+
+# Limitations
+
+Information concerning incompatibilities with other features or hardware
+combinations.
+
+# Technical information
+
+Information for a developer or power user.  Should include where to look
+in-tree for detailed documents and code.
+
+# Areas for improvement
+
+List of enhancements which could be undertaken, e.g. to improve the feature
+itself, or improve interaction with other features.
+
+# Known issues
+
+List of known issues or bugs.  For tech preview or experimental features, this
+section must contain the list of items needing fixing for its status to be
+upgraded.
#3 lore raw

Re: [PATCH for-4.6 1/2] docs: Template for feature documents

Quoted 61 lines · Juergen Gross
Quoted 46 lines · Andrew Cooper
---
  docs/Makefile                 |    2 +-
  docs/features/template.pandoc |   55
+++++++++++++++++++++++++++++++++++++++++
  2 files changed, 56 insertions(+), 1 deletion(-)

create mode 100644 docs/features/template.pandoc

docs/Makefile +1 -1
index 272292c..5d620e5 100644
@@ -16,7 +16,7 @@ MARKDOWNSRC-y := $(sort $(shell find misc -name
 '*.markdown' -print))
 
  TXTSRC-y := $(sort $(shell find misc -name '*.txt' -print))
 
-PANDOCSRC-y := $(sort $(shell find specs -name '*.pandoc' -print))
+PANDOCSRC-y := $(sort $(shell find features/ misc/ specs/ -name
 '*.pandoc' -print))
 
  # Documentation targets
  DOC_MAN1 := $(patsubst man/%.pod.1,man1/%.1,$(MAN1SRC-y))
docs/features/template.pandoc new file +5 -0
new file mode 100644
index 0000000..d883b82
@@ -0,0 +1,55 @@
+% Template for feature documents
+
+\clearpage
+
+This is a suggested template for formatting of a Xen feature

document in tree.

docs/features/template.pandoc new file +2 -0
+
+The purpose of this document is to provide a concrete support

statement for the
+feature (indicating its security status), as well as brief user and technical

docs/features/template.pandoc new file +5 -0
+documentation.
+
+# Basics
+
+A table with an overview of the support status and applicability.

docs/features/template.pandoc line 23

Quoted 10 lines
docs/features/template.pandoc new file +10 -0
+
+---------------- ----------------------------------------------------
+         Status: e.g. **Supported**/**Tech Preview**/**Experimental**
+
+Architecture(s): e.g. x86, arm
+
+   Component(s): e.g. Hypervisor, toolstack, guest
+
+       Hardware: _where applicable_
+---------------- ----------------------------------------------------

What about adding some information when the feature was introduced or some other historical stuff? Something like:

Quoted 4 lines

Experimental in Xen 4.1
Supported in Xen 4.3
xl syntax changed in Xen 4.4

In the longterm, I would expect that information to be visible via git log.

Having said that, it probably is useful to have a summary of history available in the written document.

How about a #History section at the bottom? That can at least include "document written" as a starting point and subsequent major changes in short form.

~Andrew

#4 lore raw

Re: [PATCH for-4.6 1/2] docs: Template for feature documents

Quoted 70 lines · Andrew Cooper
Quoted 61 lines · Juergen Gross
Quoted 46 lines · Andrew Cooper
---
   docs/Makefile                 |    2 +-
   docs/features/template.pandoc |   55
+++++++++++++++++++++++++++++++++++++++++
   2 files changed, 56 insertions(+), 1 deletion(-)

create mode 100644 docs/features/template.pandoc

docs/Makefile +1 -1
index 272292c..5d620e5 100644
@@ -16,7 +16,7 @@ MARKDOWNSRC-y := $(sort $(shell find misc -name
 '*.markdown' -print))
 
   TXTSRC-y := $(sort $(shell find misc -name '*.txt' -print))
 
-PANDOCSRC-y := $(sort $(shell find specs -name '*.pandoc' -print))
+PANDOCSRC-y := $(sort $(shell find features/ misc/ specs/ -name
 '*.pandoc' -print))
 
   # Documentation targets
   DOC_MAN1 := $(patsubst man/%.pod.1,man1/%.1,$(MAN1SRC-y))
docs/features/template.pandoc new file +5 -0
new file mode 100644
index 0000000..d883b82
@@ -0,0 +1,55 @@
+% Template for feature documents
+
+\clearpage
+
+This is a suggested template for formatting of a Xen feature

document in tree.

docs/features/template.pandoc new file +2 -0
+
+The purpose of this document is to provide a concrete support

statement for the
+feature (indicating its security status), as well as brief user and technical

docs/features/template.pandoc new file +5 -0
+documentation.
+
+# Basics
+
+A table with an overview of the support status and applicability.

docs/features/template.pandoc line 23

Quoted 10 lines
docs/features/template.pandoc new file +10 -0
+
+---------------- ----------------------------------------------------
+         Status: e.g. **Supported**/**Tech Preview**/**Experimental**
+
+Architecture(s): e.g. x86, arm
+
+   Component(s): e.g. Hypervisor, toolstack, guest
+
+       Hardware: _where applicable_
+---------------- ----------------------------------------------------

What about adding some information when the feature was introduced or some other historical stuff? Something like:

Quoted 4 lines

Experimental in Xen 4.1
Supported in Xen 4.3
xl syntax changed in Xen 4.4

In the longterm, I would expect that information to be visible via git log.

Quoted 6 lines

Having said that, it probably is useful to have a summary of history available in the written document.

How about a #History section at the bottom? That can at least include "document written" as a starting point and subsequent major changes in short form.

Sure, I'm fine with this.

Juergen

#5 lore raw

Re: [PATCH for-4.6 1/2] docs: Template for feature documents

In reply to Andrew Cooper
Quoted 23 lines · Andrew Cooper
Quoted 22 lines · Juergen Gross
Quoted 21 lines · Andrew Cooper
---
  docs/Makefile                 |    2 +-
  docs/features/template.pandoc |   55
+++++++++++++++++++++++++++++++++++++++++
  2 files changed, 56 insertions(+), 1 deletion(-)

create mode 100644 docs/features/template.pandoc

docs/Makefile +1 -1
index 272292c..5d620e5 100644
@@ -16,7 +16,7 @@ MARKDOWNSRC-y := $(sort $(shell find misc -name
 '*.markdown' -print))
 
  TXTSRC-y := $(sort $(shell find misc -name '*.txt' -print))
 
-PANDOCSRC-y := $(sort $(shell find specs -name '*.pandoc' -print))
+PANDOCSRC-y := $(sort $(shell find features/ misc/ specs/ -name
 '*.pandoc' -print))
 
Quoted 10 lines
Quoted 10 lines

docs/features/template.pandoc line 1

Quoted 10 lines
  # Documentation targets
  DOC_MAN1 := $(patsubst man/%.pod.1,man1/%.1,$(MAN1SRC-y))
docs/features/template.pandoc new file +1 -0
new file mode 100644
index 0000000..d883b82
@@ -0,0 +1,55 @@
+% Template for feature documents

% Revision X

Quoted 37 lines
Quoted 29 lines
Quoted 15 lines
docs/features/template.pandoc new file +4 -0
+
+\clearpage
+
+This is a suggested template for formatting of a Xen feature

document in tree.

docs/features/template.pandoc new file +2 -0
+
+The purpose of this document is to provide a concrete support

statement for the
+feature (indicating its security status), as well as brief user and technical

docs/features/template.pandoc new file +5 -0
+documentation.
+
+# Basics
+
+A table with an overview of the support status and applicability.

docs/features/template.pandoc line 23

Quoted 10 lines
docs/features/template.pandoc new file +10 -0
+
+---------------- ----------------------------------------------------
+         Status: e.g. **Supported**/**Tech Preview**/**Experimental**
+
+Architecture(s): e.g. x86, arm
+
+   Component(s): e.g. Hypervisor, toolstack, guest
+
+       Hardware: _where applicable_
+---------------- ----------------------------------------------------

What about adding some information when the feature was introduced or some other historical stuff? Something like:

Quoted 4 lines

Experimental in Xen 4.1
Supported in Xen 4.3
xl syntax changed in Xen 4.4

In the longterm, I would expect that information to be visible via git log.

Quoted 6 lines

Having said that, it probably is useful to have a summary of history available in the written document.

How about a #History section at the bottom? That can at least include "document written" as a starting point and subsequent major changes in short form.

Or use a table for revision history at the beginning? I personally think using a table is clearer than several paragraphs.

Don't want to bikeshed how it should look like. We can always change the template if necessary.

Wei.

Quoted 7 lines

~Andrew

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#6 lore raw

Re: [PATCH for-4.6 1/2] docs: Template for feature documents

Quoted 39 lines · Wei Liu
Quoted 39 lines
Quoted 29 lines
Quoted 16 lines
docs/features/template.pandoc new file +4 -0
+
+\clearpage
+
+This is a suggested template for formatting of a Xen feature

document in tree.

(quoted diff) +2 -0
+
+The purpose of this document is to provide a concrete support

statement for the
+feature (indicating its security status), as well as brief user and technical

docs/features/template.pandoc new file +5 -0
+documentation.
+
+# Basics
+
+A table with an overview of the support status and applicability.

docs/features/template.pandoc line 23

Quoted 10 lines
docs/features/template.pandoc new file +10 -0
+
+---------------- ----------------------------------------------------
+         Status: e.g. **Supported**/**Tech Preview**/**Experimental**
+
+Architecture(s): e.g. x86, arm
+
+   Component(s): e.g. Hypervisor, toolstack, guest
+
+       Hardware: _where applicable_
+---------------- ----------------------------------------------------

What about adding some information when the feature was introduced or some other historical stuff? Something like:

Quoted 4 lines

Experimental in Xen 4.1
Supported in Xen 4.3
xl syntax changed in Xen 4.4

In the longterm, I would expect that information to be visible via git log.

Having said that, it probably is useful to have a summary of history available in the written document.

Quoted 8 lines
Quoted 3 lines

How about a #History section at the bottom? That can at least include "document written" as a starting point and subsequent major changes in short form.

Or use a table for revision history at the beginning? I personally think using a table is clearer than several paragraphs.

Don't want to bikeshed how it should look like. We can always change the template if necessary.

I have introduced a history table at the end of the template. I want to avoid it getting in the way of the table of basic information and overview.

~Andrew

#7 lore raw

PATCH 2/2 docs: Migration feature document

In reply to Andrew Cooper
---
 docs/features/migration.pandoc |   90 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 90 insertions(+)
 create mode 100644 docs/features/migration.pandoc
docs/features/migration.pandoc new file +90 -0
new file mode 100644
index 0000000..e0422f9
@@ -0,0 +1,90 @@
+% Migration
+
+\clearpage
+
+# Basics
+--------------- -------------
+        Status: **Supported**
+
+  Architecture: x86
+
+     Component: Toolstack
+--------------- -------------
+
+# Overview
+
+Migration is a mechanism to move a virtual machine while the VM is running.
+Live migration moves a running virtual machine between two physical servers,
+but the same mechanism can be used for non-live migrate (pause and copy) and
+suspend/resume from disk.
+
+# User details
+
+No hardware requirements, although hypervisor logdirty support is required for
+live migration.
+
+From the command line, `xl migrate/save/restore` are the top level
+interactions.  e.g.
+
+    xl create my-vm.cfg
+    xl migrate my-vm localhost
+
+or
+
+    xl create my-vm.cfg
+    xl save my-vm /path/to/save/file
+    xl restore /path/to/save/file
+
+Xen 4.6 sees the instruction of Migration v2.  There is no change for people
+using `xl`, although the `libxl` API has had an extension.
+
+# Technical details
+
+Migration is of formed of several layers.  `libxc` is responsible for the
+contents of the VM (ram, vcpus, etc) and the live migration loop, while
+`libxl` is responsible for items such as emulator state.
+
+The format of the migration v2 stream is specified in two documents, and is
+architecture neutral.  Compatibility with legacy streams is maintained via the
+`convert-legacy-stream` script which transforms a legacy stream into a
+migration v2 stream.
+
+* Documents
+    * `docs/specs/libxc-migration-stream.pandoc`
+    * `docs/specs/libxl-migration-stream.pandoc`
+* `libxc`
+    * `tools/libxc/xc_sr_*.[hc]`
+* `libxl`
+    * `tools/libxl/libxl_stream_{read,write}.c`
+* Scripts
+    * `tools/python/xen/migration/*.py`
+    * `tools/python/scripts/convert-legacy-stream`
+    * `tools/python/scripts/verify-stream-v2`
+
+Users of the `libxl` API have a new parameter `stream_version` in
+`domain_restore_params` which is used to distinguish between legacy and v2
+migration streams, and hence whether legacy conversion is required.
+
+# Limitations
+
+Hypervisor logdirty support is incompatible with hardware passthrough, as
+IOMMU faults cannot be used to track writes.
+
+While not a bug in migration specifically, VMs are very sensitive to changes
+in cpuid information, and cpuid levelling support currently has its issues.
+Extreme care should be taken when migrating VMs between non-identical CPUs
+until the cpuid levelling improvements are complete.
+
+# Areas for improvement
+
+* Arm support
+* Linear P2M support for x86 PV
+* Live looping parameters
+
+# Known issues
+
+* x86 HVM guest physmap operations (not reflected in logdirty bitmap)
+* x86 HVM with PoD pages (attempts to map cause PoD allocations)
+* x86 HVM with nested-virt (no relevant information included in the stream)
+* x86 PV ballooning (P2M marked dirty, target frame not marked)
+* x86 PV P2M structure changes (not noticed, stale mappings used)
Signature · 1 line
1.7.10.4
#8 lore raw

Re: [PATCH for-4.6 2/2] docs: Migration feature document

docs/features/migration.pandoc line 1

Quoted 13 lines · Andrew Cooper
---
 docs/features/migration.pandoc |   90 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 90 insertions(+)
 create mode 100644 docs/features/migration.pandoc
docs/features/migration.pandoc new file +1 -0
new file mode 100644
index 0000000..e0422f9
@@ -0,0 +1,90 @@
+% Migration

% Revision 1

Quoted 32 lines
docs/features/migration.pandoc new file +32 -0
+
+\clearpage
+
+# Basics
+--------------- -------------
+        Status: **Supported**
+
+  Architecture: x86
+
+     Component: Toolstack
+--------------- -------------
+
+# Overview
+
+Migration is a mechanism to move a virtual machine while the VM is running.
+Live migration moves a running virtual machine between two physical servers,
+but the same mechanism can be used for non-live migrate (pause and copy) and
+suspend/resume from disk.
+
+# User details
+
+No hardware requirements, although hypervisor logdirty support is required for
+live migration.
+
+From the command line, `xl migrate/save/restore` are the top level
+interactions.  e.g.
+
+    xl create my-vm.cfg
+    xl migrate my-vm localhost
+
+or
+

docs/features/migration.pandoc line 43

Quoted 10 lines
docs/features/migration.pandoc new file +10 -0
+    xl create my-vm.cfg
+    xl save my-vm /path/to/save/file
+    xl restore /path/to/save/file
+
+Xen 4.6 sees the instruction of Migration v2.  There is no change for people
+using `xl`, although the `libxl` API has had an extension.
+
+# Technical details
+
+Migration is of formed of several layers.  `libxc` is responsible for the

Extraneous "of".

Quoted 37 lines
docs/features/migration.pandoc new file +37 -0
+contents of the VM (ram, vcpus, etc) and the live migration loop, while
+`libxl` is responsible for items such as emulator state.
+
+The format of the migration v2 stream is specified in two documents, and is
+architecture neutral.  Compatibility with legacy streams is maintained via the
+`convert-legacy-stream` script which transforms a legacy stream into a
+migration v2 stream.
+
+* Documents
+    * `docs/specs/libxc-migration-stream.pandoc`
+    * `docs/specs/libxl-migration-stream.pandoc`
+* `libxc`
+    * `tools/libxc/xc_sr_*.[hc]`
+* `libxl`
+    * `tools/libxl/libxl_stream_{read,write}.c`
+* Scripts
+    * `tools/python/xen/migration/*.py`
+    * `tools/python/scripts/convert-legacy-stream`
+    * `tools/python/scripts/verify-stream-v2`
+
+Users of the `libxl` API have a new parameter `stream_version` in
+`domain_restore_params` which is used to distinguish between legacy and v2
+migration streams, and hence whether legacy conversion is required.
+
+# Limitations
+
+Hypervisor logdirty support is incompatible with hardware passthrough, as
+IOMMU faults cannot be used to track writes.
+
+While not a bug in migration specifically, VMs are very sensitive to changes
+in cpuid information, and cpuid levelling support currently has its issues.
+Extreme care should be taken when migrating VMs between non-identical CPUs
+until the cpuid levelling improvements are complete.
+
+# Areas for improvement
+
+* Arm support

docs/features/migration.pandoc line 90

Quoted 10 lines
docs/features/migration.pandoc new file +10 -0
+* Linear P2M support for x86 PV
+* Live looping parameters
+
+# Known issues
+
+* x86 HVM guest physmap operations (not reflected in logdirty bitmap)
+* x86 HVM with PoD pages (attempts to map cause PoD allocations)
+* x86 HVM with nested-virt (no relevant information included in the stream)
+* x86 PV ballooning (P2M marked dirty, target frame not marked)
+* x86 PV P2M structure changes (not noticed, stale mappings used)

TBH I think "Areas for improvement" and "Known issues" sections are very cryptic to normal users, but I don't have any suggestion to make them better.

In any case, any document is better than no documents. I'm all for this doc going in as soon as possible.

Wei.

Quoted 8 lines
Signature · 7 lines
1.7.10.4


_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
#9 lore raw

Re: [PATCH for-4.6 2/2] docs: Migration feature document

Quoted 111 lines · Wei Liu

docs/features/migration.pandoc line 1

Quoted 13 lines · Andrew Cooper
---
 docs/features/migration.pandoc |   90 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 90 insertions(+)
 create mode 100644 docs/features/migration.pandoc
docs/features/migration.pandoc new file +1 -0
new file mode 100644
index 0000000..e0422f9
@@ -0,0 +1,90 @@
+% Migration

% Revision 1

Quoted 32 lines
docs/features/migration.pandoc new file +32 -0
+
+\clearpage
+
+# Basics
+--------------- -------------
+        Status: **Supported**
+
+  Architecture: x86
+
+     Component: Toolstack
+--------------- -------------
+
+# Overview
+
+Migration is a mechanism to move a virtual machine while the VM is running.
+Live migration moves a running virtual machine between two physical servers,
+but the same mechanism can be used for non-live migrate (pause and copy) and
+suspend/resume from disk.
+
+# User details
+
+No hardware requirements, although hypervisor logdirty support is required for
+live migration.
+
+From the command line, `xl migrate/save/restore` are the top level
+interactions.  e.g.
+
+    xl create my-vm.cfg
+    xl migrate my-vm localhost
+
+or
+

docs/features/migration.pandoc line 43

Quoted 10 lines
docs/features/migration.pandoc new file +10 -0
+    xl create my-vm.cfg
+    xl save my-vm /path/to/save/file
+    xl restore /path/to/save/file
+
+Xen 4.6 sees the instruction of Migration v2.  There is no change for people
+using `xl`, although the `libxl` API has had an extension.
+
+# Technical details
+
+Migration is of formed of several layers.  `libxc` is responsible for the

Extraneous "of".

Quoted 37 lines
docs/features/migration.pandoc new file +37 -0
+contents of the VM (ram, vcpus, etc) and the live migration loop, while
+`libxl` is responsible for items such as emulator state.
+
+The format of the migration v2 stream is specified in two documents, and is
+architecture neutral.  Compatibility with legacy streams is maintained via the
+`convert-legacy-stream` script which transforms a legacy stream into a
+migration v2 stream.
+
+* Documents
+    * `docs/specs/libxc-migration-stream.pandoc`
+    * `docs/specs/libxl-migration-stream.pandoc`
+* `libxc`
+    * `tools/libxc/xc_sr_*.[hc]`
+* `libxl`
+    * `tools/libxl/libxl_stream_{read,write}.c`
+* Scripts
+    * `tools/python/xen/migration/*.py`
+    * `tools/python/scripts/convert-legacy-stream`
+    * `tools/python/scripts/verify-stream-v2`
+
+Users of the `libxl` API have a new parameter `stream_version` in
+`domain_restore_params` which is used to distinguish between legacy and v2
+migration streams, and hence whether legacy conversion is required.
+
+# Limitations
+
+Hypervisor logdirty support is incompatible with hardware passthrough, as
+IOMMU faults cannot be used to track writes.
+
+While not a bug in migration specifically, VMs are very sensitive to changes
+in cpuid information, and cpuid levelling support currently has its issues.
+Extreme care should be taken when migrating VMs between non-identical CPUs
+until the cpuid levelling improvements are complete.
+
+# Areas for improvement
+
+* Arm support

docs/features/migration.pandoc line 90

Quoted 10 lines
docs/features/migration.pandoc new file +10 -0
+* Linear P2M support for x86 PV
+* Live looping parameters
+
+# Known issues
+
+* x86 HVM guest physmap operations (not reflected in logdirty bitmap)
+* x86 HVM with PoD pages (attempts to map cause PoD allocations)
+* x86 HVM with nested-virt (no relevant information included in the stream)
+* x86 PV ballooning (P2M marked dirty, target frame not marked)
+* x86 PV P2M structure changes (not noticed, stale mappings used)

TBH I think "Areas for improvement" and "Known issues" sections are very cryptic to normal users, but I don't have any suggestion to make them better.

Quoted 2 lines

In any case, any document is better than no documents. I'm all for this doc going in as soon as possible.

This document is deliberately designed to contain both user and technical information, and be a full overview of the feature, so it is important for the information to be present. I am open to alternative suggestions for how to represent it.

They are basically "proposed new features" and "known bugs". "Areas for improvement" could easily be small projects for newcomers/gsoc/opw, while "Known Issues" probably needs a deeper technical knowledge of the area.

~Andrew