Skip to content

domain context infrastructure

Paul Durrant xen-devel 10 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v10 Latest11 patches 18 repliesIn review
  2. v98 patches 32 repliesSuperseded
  3. v88 patches 2 repliesSuperseded
Earlier versions · 7
VersionPostedPatchesRepliesStatus
v79 patches13 repliesSuperseded
v65 patches5 repliesSuperseded
v55 patches4 repliesSuperseded
v45 patches8 repliesSuperseded
v35 patches14 repliesSuperseded
v25 patches24 repliesSuperseded
v15 patches26 repliesSuperseded

Patches in v10 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11docs / include: introduce a new framework for 'domain context' recordsdocs/specs/domain-context.md xen/include/public/arch-arm/hvm/save.h xen/include/public/arch-x86/hvm/save.h +1 more+213 -05 replies
2/11xen: introduce implementation of save/restore of 'domain context'xen/common/Makefile xen/common/save.c xen/include/xen/save.h+500 -02 replies
3/11xen/common/domctl: introduce XEN_DOMCTL_get/set_domain_contexttools/flask/policy/modules/xen.if tools/libs/ctrl/include/xenctrl.h tools/libs/ctrl/xc_domain.c +4 more+285 -22 replies
4/11tools/misc: add xen-domctx to present domain context.gitignore tools/misc/Makefile tools/misc/xen-domctx.c+177 -00 replies
5/11common/domain: add a domain context record for shared_info...docs/specs/domain-context.md tools/misc/xen-domctx.c xen/common/domain.c +1 more+233 -02 replies
6/11x86/time: add a domain context record for tsc_info...docs/specs/domain-context.md tools/misc/xen-domctx.c xen/arch/x86/time.c +1 more+82 -01 reply
7/11docs/specs: add missing definitions to libxc-migration-streamdocs/specs/libxc-migration-stream.pandoc+9 -21 reply
8/11docs / tools: specify migration v4 to include DOMAIN_CONTEXTdocs/specs/libxc-migration-stream.pandoc tools/libs/guest/xg_sr_stream_format.h+49 -141 reply
9/11tools/python: modify libxc.py to verify v4 streamtools/python/xen/migration/libxc.py+20 -21 reply
10/11tools/libs/guest: add code to restore a v4 libxc streamtools/libs/guest/xg_sr_common.c tools/libs/guest/xg_sr_common.h tools/libs/guest/xg_sr_restore.c +2 more+44 -21 reply
11/11tools/libs/guest: add code to save a v4 libxc streamtools/libs/guest/xg_sr_common_x86.c tools/libs/guest/xg_sr_common_x86.h tools/libs/guest/xg_sr_save.c +2 more+51 -541 reply

Reviews trailers per patch

4 of 11 patches have a Reviewed-by or Acked-by.

PatchIan JacksonWei LiuJan Beulich
1/11
2/11
3/11R-b
4/11A-b A-b
5/11
6/11R-b
7/11A-b
8/11
9/11
10/11
11/11

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v10 thread

Cover letter [PATCH v10 00/11] domain context infrastructure

From: Paul Durrant <[email protected]>

Paul Durrant (11):
docs / include: introduce a new framework for 'domain context' records
xen: introduce implementation of save/restore of 'domain context' xen/common/domctl: introduce XEN_DOMCTL_get/set_domain_context tools/misc: add xen-domctx to present domain context common/domain: add a domain context record for shared_info... x86/time: add a domain context record for tsc_info... docs/specs: add missing definitions to libxc-migration-stream docs / tools: specify migration v4 to include DOMAIN_CONTEXT tools/python: modify libxc.py to verify v4 stream tools/libs/guest: add code to restore a v4 libxc stream tools/libs/guest: add code to save a v4 libxc stream

 .gitignore                               |   1 +
 docs/specs/domain-context.md             | 198 +++++++++++++
 docs/specs/libxc-migration-stream.pandoc |  69 ++++-
 tools/flask/policy/modules/xen.if        |   4 +-
 tools/libs/ctrl/include/xenctrl.h        |   5 +
 tools/libs/ctrl/xc_domain.c              |  56 ++++
 tools/libs/guest/xg_sr_common.c          |   1 +
 tools/libs/guest/xg_sr_common.h          |   3 +
 tools/libs/guest/xg_sr_common_x86.c      |  20 --
 tools/libs/guest/xg_sr_common_x86.h      |   6 -
 tools/libs/guest/xg_sr_restore.c         |  24 +-
 tools/libs/guest/xg_sr_restore_x86_hvm.c |   9 +
 tools/libs/guest/xg_sr_restore_x86_pv.c  |   9 +
 tools/libs/guest/xg_sr_save.c            |  52 +++-
 tools/libs/guest/xg_sr_save_x86_hvm.c    |   5 -
 tools/libs/guest/xg_sr_save_x86_pv.c     |  22 --
 tools/libs/guest/xg_sr_stream_format.h   |   1 +
 tools/misc/Makefile                      |   4 +
 tools/misc/xen-domctx.c                  | 264 ++++++++++++++++++
 tools/python/xen/migration/libxc.py      |  22 +-
 xen/arch/x86/time.c                      |  30 ++
 xen/common/Makefile                      |   1 +
 xen/common/domain.c                      | 113 ++++++++
 xen/common/domctl.c                      | 173 ++++++++++++
 xen/common/save.c                        | 339 +++++++++++++++++++++++
 xen/include/public/arch-arm/hvm/save.h   |   5 +
 xen/include/public/arch-x86/hvm/save.h   |   5 +
 xen/include/public/domctl.h              |  39 +++
 xen/include/public/save.h                |  85 ++++++
 xen/include/xen/save.h                   | 160 +++++++++++
 xen/xsm/flask/hooks.c                    |   6 +
 xen/xsm/flask/policy/access_vectors      |   4 +
 32 files changed, 1661 insertions(+), 74 deletions(-)
 create mode 100644 docs/specs/domain-context.md
 create mode 100644 tools/misc/xen-domctx.c
 create mode 100644 xen/common/save.c
 create mode 100644 xen/include/public/save.h
 create mode 100644 xen/include/xen/save.h

---
Cc: Andrew Cooper <[email protected]>
Cc: Daniel De Graaf <[email protected]>
Cc: George Dunlap <[email protected]>
Cc: Ian Jackson <[email protected]>
Cc: Jan Beulich <[email protected]>
Cc: Julien Grall <[email protected]>
Cc: "Marek Marczykowski-Górecki" <[email protected]>
Cc: "Roger Pau Monné" <[email protected]>
Cc: Stefano Stabellini <[email protected]>
Cc: Volodymyr Babchuk <[email protected]>
Cc: Wei Liu <[email protected]>

Signature · 1 line
2.20.1