[PATCH v3 0/5] domain context infrastructure

Paul Durrant posted 5 patches 23 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/xen tags/patchew/20200514104416.16657-1-paul@xen.org
Maintainers: Stefano Stabellini <sstabellini@kernel.org>, Julien Grall <julien@xen.org>, George Dunlap <george.dunlap@citrix.com>, Daniel De Graaf <dgdegra@tycho.nsa.gov>, Wei Liu <wl@xen.org>, Ian Jackson <ian.jackson@eu.citrix.com>, Andrew Cooper <andrew.cooper3@citrix.com>, Jan Beulich <jbeulich@suse.com>
.gitignore                             |   1 +
tools/flask/policy/modules/xen.if      |   4 +-
tools/libxc/include/xenctrl.h          |   5 +
tools/libxc/xc_domain.c                |  54 +++++
tools/libxc/xc_sr_common.c             |  58 +++++
tools/libxc/xc_sr_common.h             |  11 +-
tools/libxc/xc_sr_common_x86_pv.c      |  47 ++++
tools/libxc/xc_sr_common_x86_pv.h      |   3 +
tools/libxc/xc_sr_restore_x86_pv.c     |  40 ++--
tools/libxc/xc_sr_save_x86_pv.c        |  26 +-
tools/libxc/xg_save_restore.h          |   1 +
tools/misc/Makefile                    |   4 +
tools/misc/xen-domctx.c                | 273 +++++++++++++++++++++
xen/common/Makefile                    |   1 +
xen/common/domain.c                    |  60 +++++
xen/common/domctl.c                    | 167 +++++++++++++
xen/common/save.c                      | 313 +++++++++++++++++++++++++
xen/include/public/arch-arm/hvm/save.h |   5 +
xen/include/public/arch-x86/hvm/save.h |   5 +
xen/include/public/domctl.h            |  41 ++++
xen/include/public/save.h              |  89 +++++++
xen/include/xen/save.h                 | 165 +++++++++++++
xen/xsm/flask/hooks.c                  |   6 +
xen/xsm/flask/policy/access_vectors    |   4 +
24 files changed, 1332 insertions(+), 51 deletions(-)
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

[PATCH v3 0/5] domain context infrastructure

Posted by Paul Durrant 23 weeks ago
From: Paul Durrant <pdurrant@amazon.com>

Paul Durrant (5):
  xen/common: introduce a new framework for save/restore of 'domain'
    context
  xen/common/domctl: introduce XEN_DOMCTL_get/setdomaincontext
  tools/misc: add xen-domctx to present domain context
  common/domain: add a domain context record for shared_info...
  tools/libxc: make use of domain context SHARED_INFO record...

 .gitignore                             |   1 +
 tools/flask/policy/modules/xen.if      |   4 +-
 tools/libxc/include/xenctrl.h          |   5 +
 tools/libxc/xc_domain.c                |  54 +++++
 tools/libxc/xc_sr_common.c             |  58 +++++
 tools/libxc/xc_sr_common.h             |  11 +-
 tools/libxc/xc_sr_common_x86_pv.c      |  47 ++++
 tools/libxc/xc_sr_common_x86_pv.h      |   3 +
 tools/libxc/xc_sr_restore_x86_pv.c     |  40 ++--
 tools/libxc/xc_sr_save_x86_pv.c        |  26 +-
 tools/libxc/xg_save_restore.h          |   1 +
 tools/misc/Makefile                    |   4 +
 tools/misc/xen-domctx.c                | 273 +++++++++++++++++++++
 xen/common/Makefile                    |   1 +
 xen/common/domain.c                    |  60 +++++
 xen/common/domctl.c                    | 167 +++++++++++++
 xen/common/save.c                      | 313 +++++++++++++++++++++++++
 xen/include/public/arch-arm/hvm/save.h |   5 +
 xen/include/public/arch-x86/hvm/save.h |   5 +
 xen/include/public/domctl.h            |  41 ++++
 xen/include/public/save.h              |  89 +++++++
 xen/include/xen/save.h                 | 165 +++++++++++++
 xen/xsm/flask/hooks.c                  |   6 +
 xen/xsm/flask/policy/access_vectors    |   4 +
 24 files changed, 1332 insertions(+), 51 deletions(-)
 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

-- 
2.20.1