Skip to content

RFC Hyperlaunch domain roles and capabilities

Daniel P. Smith xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest6 patches 40 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6dom0: replace explict zero checksxen/common/domain.c xen/common/sched/arinc653.c xen/common/sched/core.c +1 more+12 -58 replies
2/6roles: provide abstraction for the possible domain rolesxen/arch/arm/domain_build.c xen/arch/x86/setup.c xen/common/domain.c +3 more+34 -1611 replies
3/6roles: add a role for xenstore domainxen/common/domain.c xen/include/xen/sched.h+5 -12 replies
4/6capabilities: introduce console io as a domain capabilityxen/arch/arm/domain_build.c xen/include/xen/sched.h xen/include/xsm/dummy.h+27 -410 replies
5/6capabilities: add dom0 cpu faulting disablexen/arch/x86/cpu-policy.c xen/arch/x86/cpu/common.c xen/arch/x86/setup.c +1 more+52 -443 replies
6/6capabilities: convert attach debugger into a capabilityxen/arch/x86/hvm/svm/svm.c xen/arch/x86/hvm/vmx/realmode.c xen/arch/x86/hvm/vmx/vmcs.c +4 more+25 -186 replies

Reviews trailers per patch

1 of 6 patches has a Reviewed-by or Acked-by.

PatchStefano Stabellini
1/6
2/6
3/6R-b
4/6
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RFC 0/6] Hyperlaunch domain roles and capabilities

A goal of the hyperlaunch effort was to solidify the concept of the different types of domains the hypervisor has some notion around. The initial approach was to formalize these types as roles enforced through the XSM framework. In this RFC, a simpler approach is taken to lay a foundation of domain roles and assignable capabilities.

The approach in this series is to collapse the relevant bools in struct domain into a pair of bit flag entries that represent roles and capabilities that a domain is assigned.

Daniel P. Smith (6):
dom0: replace explict zero checks
roles: provide abstraction for the possible domain roles
roles: add a role for xenstore domain
capabilities: introduce console io as a domain capability
capabilities: add dom0 cpu faulting disable
capabilities: convert attach debugger into a capability

 xen/arch/arm/domain_build.c     |  6 ++-
 xen/arch/x86/cpu-policy.c       |  2 +-
 xen/arch/x86/cpu/common.c       | 82 ++++++++++++++++-----------------
 xen/arch/x86/hvm/svm/svm.c      |  8 ++--
 xen/arch/x86/hvm/vmx/realmode.c |  2 +-
 xen/arch/x86/hvm/vmx/vmcs.c     |  2 +-
 xen/arch/x86/hvm/vmx/vmx.c      | 10 ++--
 xen/arch/x86/setup.c            |  6 +++
 xen/arch/x86/traps.c            |  6 ++-
 xen/common/domain.c             | 21 +++++++--
 xen/common/domctl.c             |  6 ++-
 xen/common/sched/arinc653.c     |  2 +-
 xen/common/sched/core.c         |  4 +-
 xen/include/xen/sched.h         | 58 +++++++++++++++++++----
 xen/include/xsm/dummy.h         |  6 +--
 xen/xsm/flask/hooks.c           | 12 ++---
 16 files changed, 150 insertions(+), 83 deletions(-)
Signature · 1 line
2.20.1