Skip to content

Hyperlaunch

Daniel P. Smith xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest18 patches 47 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/18kconfig: allow configuration of maximum modulesxen/arch/Kconfig xen/arch/arm/include/asm/setup.h xen/arch/x86/efi/efi-boot.h +2 more+19 -69 replies
2/18introduction of generalized boot infoxen/arch/x86/include/asm/bootinfo.h xen/include/xen/bootinfo.h+102 -08 replies
3/18x86: adopt new boot info structuresxen/arch/x86/bzimage.c xen/arch/x86/cpu/microcode/core.c xen/arch/x86/dom0_build.c +11 more+413 -2782 replies
4/18x86: refactor entrypoints to new boot infoxen/arch/x86/boot/boot_info32.h xen/arch/x86/boot/defs.h xen/arch/x86/boot/reloc.c +5 more+359 -1802 replies
5/18x86: refactor xen cmdline into general frameworkxen/arch/x86/include/asm/bootinfo.h xen/arch/x86/setup.c xen/include/xen/bootinfo.h+68 -503 replies
6/18fdt: make fdt handling reusable across archxen/arch/arm/bootfdt.c xen/common/Kconfig xen/common/Makefile +3 more+218 -1643 replies
7/18docs: update hyperlaunch device tree documentationdocs/designs/launch/hyperlaunch-devicetree.rst+306 -1912 replies
8/18kconfig: introduce domain builder config optionxen/common/Kconfig xen/common/domain-builder/Kconfig+16 -03 replies
9/18x86: introduce abstractions for domain builderxen/arch/x86/boot/boot_info32.h xen/arch/x86/dom0_build.c xen/arch/x86/include/asm/bootdomain.h +4 more+147 -201 reply
10/18x86: introduce the domain builderxen/arch/x86/setup.c xen/common/Makefile xen/common/domain-builder/Makefile +5 more+427 -05 replies
11/18x86: initial conversion to domain builderxen/arch/x86/dom0_build.c xen/arch/x86/hvm/dom0_build.c xen/arch/x86/include/asm/dom0_build.h +3 more+109 -971 reply
12/18x86: convert dom0 creation to domain builderxen/arch/x86/Makefile xen/arch/x86/domain_builder.c xen/arch/x86/include/asm/setup.h +1 more+141 -981 reply
13/18x86: generalize physmap logicxen/arch/x86/include/asm/dom0_build.h xen/arch/x86/pv/dom0_build.c xen/arch/x86/pv/shim.c+8 -81 reply
14/18x86: generalize vcpu for domain buildingxen/arch/x86/domain_builder.c xen/arch/x86/hvm/dom0_build.c xen/arch/x86/pv/dom0_build.c +2 more+36 -151 reply
15/18x86: rework domain page allocationxen/arch/x86/dom0_build.c xen/arch/x86/domain_builder.c xen/arch/x86/hvm/dom0_build.c +2 more+142 -631 reply
16/18x86: add pv multidomain constructionxen/arch/x86/dom0_build.c xen/arch/x86/domain_builder.c xen/arch/x86/include/asm/dom0_build.h +7 more+259 -871 reply
17/18builder: introduce domain builder hypfs treexen/common/domain-builder/Kconfig xen/common/domain-builder/Makefile xen/common/domain-builder/core.c +2 more+221 -01 reply
18/18tools: introduce example late pv helper.gitignore tools/helpers/Makefile tools/helpers/builder-hypfs.c +5 more+734 -00 replies

Reviews trailers per patch

All 18 patches have a Reviewed-by or Acked-by.

PatchChristopher ClarkHenry Wang
1/18R-b R-b
2/18R-b
3/18R-b
4/18R-b
5/18R-b
6/18R-b R-b
7/18R-b
8/18R-b R-b
9/18R-b
10/18R-b
11/18R-b
12/18R-b
13/18R-b
14/18R-b
15/18R-b
16/18R-b
17/18R-b
18/18R-b

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

Read the v1 thread

Cover letter [PATCH v1 00/18] Hyperlaunch

This work being submitted in this series was made possible with a great thanks to Star Lab Cop ration and their generous funding of this project.

The patch series is based on the existing xsm series for starting the idle domain privileged. After that, the first four commits were previously submitted as an RFC and expanded by an additional commit to refactor xen commandline handling. The remaining preliminary patches are FDT refactoring and a doc update. From there is where the series begins to  morph x86 arch to support building multiple domains at boot.

This series has been fairly well tested using qemu with a multiboot1 bootoader and under EFI + GRUB multiboot2 boot. While there are likely some rough spots remaining in the series, it is at a point now where the series should be reviewed, exercised, and tested for consideration into tree.

Information, including docuemntation, meeting minutes, presentations, and past series postings can be found on the Xen wiki:

https://wiki.xenproject.org/wiki/Hyperlaunch

Daniel P. Smith (18):
kconfig: allow configuration of maximum modules introduction of generalized boot info
x86: adopt new boot info structures
x86: refactor entrypoints to new boot info
x86: refactor xen cmdline into general framework
fdt: make fdt handling reusable across arch
docs: update hyperlaunch device tree documentation
kconfig: introduce domain builder config option
x86: introduce abstractions for domain builder
x86: introduce the domain builder
x86: initial conversion to domain builder
x86: convert dom0 creation to domain builder
x86: generalize physmap logic
x86: generalize vcpu for domain building
x86: rework domain page allocation
x86: add pv multidomain construction
builder: introduce domain builder hypfs tree
tools: introduce example late pv helper

 .gitignore                                    |   1 +
 .../designs/launch/hyperlaunch-devicetree.rst | 497 +++++++++++-------
 tools/helpers/Makefile                        |  11 +
 tools/helpers/builder-hypfs.c                 | 253 +++++++++
 tools/helpers/hypfs-helpers.h                 |   9 +
 tools/helpers/late-init-pv.c                  | 287 ++++++++++
 tools/helpers/late-init-pv.h                  |  29 +
 tools/helpers/xs-helpers.c                    | 117 +++++
 tools/helpers/xs-helpers.h                    |  27 +
 xen/arch/Kconfig                              |  12 +
 xen/arch/arm/bootfdt.c                        | 115 +---
 xen/arch/arm/include/asm/setup.h              |   5 +-
 xen/arch/x86/Makefile                         |   1 +
 xen/arch/x86/boot/boot_info32.h               |  97 ++++
 xen/arch/x86/boot/defs.h                      |  17 +-
 xen/arch/x86/boot/reloc.c                     | 187 +++++--
 xen/arch/x86/bzimage.c                        |  18 +-
 xen/arch/x86/cpu/microcode/core.c             | 133 +++--
 xen/arch/x86/dom0_build.c                     | 129 +----
 xen/arch/x86/domain_builder.c                 | 284 ++++++++++
 xen/arch/x86/efi/efi-boot.h                   |  96 ++--
 xen/arch/x86/guest/xen/pvh-boot.c             |  64 ++-
 xen/arch/x86/hvm/dom0_build.c                 |  62 +--
 xen/arch/x86/include/asm/bootdomain.h         |  30 ++
 xen/arch/x86/include/asm/bootinfo.h           |  99 ++++
 xen/arch/x86/include/asm/bzimage.h            |   5 +-
 xen/arch/x86/include/asm/dom0_build.h         |  27 +-
 xen/arch/x86/include/asm/guest/pvh-boot.h     |   6 +-
 xen/arch/x86/include/asm/setup.h              |  18 +-
 xen/arch/x86/pv/Makefile                      |   2 +-
 .../x86/pv/{dom0_build.c => domain_builder.c} | 141 ++---
 xen/arch/x86/pv/shim.c                        |   4 +-
 xen/arch/x86/setup.c                          | 392 ++++++--------
 xen/common/Kconfig                            |   5 +
 xen/common/Makefile                           |   4 +-
 xen/common/domain-builder/Kconfig             |  36 ++
 xen/common/domain-builder/Makefile            |   3 +
 xen/common/domain-builder/core.c              | 207 ++++++++
 xen/common/domain-builder/fdt.c               | 295 +++++++++++
 xen/common/domain-builder/fdt.h               |   7 +
 xen/common/domain-builder/hypfs.c             | 193 +++++++
 xen/common/efi/boot.c                         |   4 +-
 xen/common/fdt.c                              | 131 +++++
 xen/common/sched/core.c                       |  25 +-
 xen/include/xen/bootdomain.h                  |  58 ++
 xen/include/xen/bootinfo.h                    | 132 +++++
 xen/include/xen/device_tree.h                 |  50 +-
 xen/include/xen/domain_builder.h              |  88 ++++
 xen/include/xen/fdt.h                         |  79 +++
 xen/include/xen/sched.h                       |   3 +-
 xen/include/xsm/xsm.h                         |  26 +-
 xen/xsm/xsm_core.c                            |  43 +-
 xen/xsm/xsm_policy.c                          |  56 +-
 53 files changed, 3544 insertions(+), 1076 deletions(-)
 create mode 100644 tools/helpers/builder-hypfs.c
 create mode 100644 tools/helpers/hypfs-helpers.h
 create mode 100644 tools/helpers/late-init-pv.c
 create mode 100644 tools/helpers/late-init-pv.h
 create mode 100644 tools/helpers/xs-helpers.c
 create mode 100644 tools/helpers/xs-helpers.h
 create mode 100644 xen/arch/x86/boot/boot_info32.h
 create mode 100644 xen/arch/x86/domain_builder.c
 create mode 100644 xen/arch/x86/include/asm/bootdomain.h
 create mode 100644 xen/arch/x86/include/asm/bootinfo.h
 rename xen/arch/x86/pv/{dom0_build.c => domain_builder.c} (88%)
 create mode 100644 xen/common/domain-builder/Kconfig
 create mode 100644 xen/common/domain-builder/Makefile
 create mode 100644 xen/common/domain-builder/core.c
 create mode 100644 xen/common/domain-builder/fdt.c
 create mode 100644 xen/common/domain-builder/fdt.h
 create mode 100644 xen/common/domain-builder/hypfs.c
 create mode 100644 xen/common/fdt.c
 create mode 100644 xen/include/xen/bootdomain.h
 create mode 100644 xen/include/xen/bootinfo.h
 create mode 100644 xen/include/xen/domain_builder.h
 create mode 100644 xen/include/xen/fdt.h
Signature · 1 line
2.20.1