xen: Xen vTPM stubdomains
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest8 patches 3 repliesIn review
- v48 patches 0 repliesSuperseded
- v38 patches 3 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 8 patches | 3 replies | Superseded | |
| v1 | 7 patches | 11 replies | Superseded |
Changes in v5 from the cover letter
- Correct license in TPM Emulator recipe
- Remove aarch64 from COMPATIBLE_HOST in stubdom.inc
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | xen: Define standard values needed to build stubdomainsrecipes-extended/ | +152 | 0 replies | |
| 2/8 | xen: LWIP source code with patches applied for stubdomsrecipes-extended/ recipes-extended/ recipes-extended/ +1 more | +2454 | 0 replies | |
| 3/8 | xen: Mini-OS source code with make links target appliedrecipes-extended/ recipes-extended/ recipes-extended/ | +89 | 0 replies | |
| 4/8 | xen: Newlib recipe and patches for Xen stubdomsrecipes-extended/ recipes-extended/ recipes-extended/ +2 more | +983 | 0 replies | |
| 5/8 | xen: PolarSSL recipe and patches for Xen stubdomsrecipes-extended/ recipes-extended/ recipes-extended/ | +110 | 0 replies | |
| 6/8 | xen: GMP recipe for Xen stubdomsrecipes-extended/ recipes-extended/ | +57 | 0 replies | |
| 7/8 | xen: TPM Emulator for Xen stubdomsrecipes-extended/ recipes-extended/ recipes-extended/ +7 more | +679 | 0 replies | |
| 8/8 | xen: vTPM and vTPM Manager stubdomsrecipes-extended/ recipes-extended/ | +132 | 0 replies |
Reviews trailers per patch
None of the 8 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Christopher Clark |
|---|---|
| Series | R-b |
| 1/8 | |
| 2/8 | |
| 3/8 | |
| 4/8 | |
| 5/8 | |
| 6/8 | |
| 7/8 | |
| 8/8 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v5 0/8] xen: Xen vTPM stubdomains
This patchset introduces the basic recipes necessary to build Xen stubdomains, in particular the vTPM and vTPM Manager stubdomains. vTPM stubdomains provide Xen guest domains access to a virtualized TPM. The vTPM Manager stubdomain manages each of the vTPM domains and seals them to the physical TPM. The intention of this patchset is to provide the ability to build Xen stubdomains separately from the rest of the Xen components since the stubdomains have separate dependencies that are hard-coded within the Xen build and configuration files. Separating the stubdomain recipes and dependencies from the rest of the Xen build gives the ability to use newer or different libraries than what is currently used.
The stubdom.inc file defines a set of CPPFLAGS, CFLAGS, and LDFLAGS common for building all Xen stubdomains. Xen stubdomains are cross-compiled with the MiniOS, which creates some issues when trying to compile stubdomains in an OpenEmbedded environment. To address these issues and to ensure the stubdoms are built as Xen had intended, all of the build flags and build tools that are exported into the environment by OE have been unset. Each of the new recipes introduced here then implements the build flags and the tools as though the build had been run in the bare-metal environment.
Recipes to create slightly modified source packages for lwIP amd Mini-OS are introduced to standardize the dependency tree among stubdomain related recipes and to avoid the hassle of maintaining the same tasks within many recipes.
Xen vTPM stubdomains have depencencies on static libraries for newlib, polarssl, gmp, and tpm emulator. Xen vTPM Manager stubdomain has dependencies on static libraries for newlib and polarssl.
The newlib, polarssl, gmp, and tpm emulator recipes are constructed to behave the same as a bare-metal build. These recipes are cross-compiled against both the Xen and MiniOS source code.
The xen-vtpm recipe is responsible for building and installing the vTPM and vTPM Manager stubdomain images into the Xen boot directory. xen-vtpm would need to be added to DISTRO_FEATURES the similar for what is done for Xen.
---
Changes in v5:
- Correct license in TPM Emulator recipe
- Remove aarch64 from COMPATIBLE_HOST in stubdom.inc
Changes in v4:
- Fix whitespace errors in MiniOS, Newlib, and TPM Emulator patchfiles
- Corrected type in Newlib recipe
Changes in v3:
- Limit builds to 64-bit only through COMPATIBLE_HOST
- Change Xen version comparison logic in xen-vtpm recipe
- Introduce MiniOS patch for GCC v7 that was not backported into the 4.9.x releases
- Change cross-root-${XEN_TARGET_ARCH} to cross-root-${GNU_TARGET_ARCH}
Changes in v2:
- Multi-line variables formatted to match OE style guide
- SRC_URI formatted to use SRCREV rather than git tag
- patches formatted to striplevel=1
- introduced Mini-OS recipe
- Removed Xen dependency since this is handled (mostly) by Mini-OS
- Changed version number of xen-vtpm recipe to match Xen version
---
Kurt Bodiker (8):
Define standard values needed to build stubdomains LWIP source code with patches applied for stubdoms Mini-OS source code with make links target applied Newlib recipe and patches for Xen stubdoms PolarSSL recipe and patches for Xen stubdoms GMP recipe for Xen stubdoms
TPM Emulator for Xen stubdoms
vTPM and vTPM Manager stubdoms
.../lwip.dhcp_create_request-hwaddr_len.patch | 13 + recipes-extended/xen/files/lwip.patch-cvs | 2398 ++++++++++++++++++++ .../xen/files/mini-os_udivmoddi4-gcc7.patch | 43 + recipes-extended/xen/files/newlib-chk.patch | 155 ++ .../newlib-stdint-size_max-fix-from-1.17.0.patch | 16 + recipes-extended/xen/files/newlib.patch | 727 ++++++ recipes-extended/xen/files/polarssl.patch | 64 + recipes-extended/xen/files/tpmemu-0.7.4.patch | 12 + recipes-extended/xen/files/vtpm-bufsize.patch | 13 + recipes-extended/xen/files/vtpm-cmake-Wextra.patch | 21 + .../xen/files/vtpm-deepquote-anyloc.patch | 127 ++ recipes-extended/xen/files/vtpm-deepquote.patch | 187 ++ .../xen/files/vtpm-implicit-fallthrough.patch | 10 + recipes-extended/xen/files/vtpm-locality.patch | 50 + .../xen/files/vtpm-parent-sign-ek.patch | 196 ++ recipes-extended/xen/lwip.inc | 24 + recipes-extended/xen/lwip_1.3.0.bb | 19 + recipes-extended/xen/mini-os.inc | 28 + recipes-extended/xen/mini-os_4.9.0.bb | 18 + recipes-extended/xen/newlib.inc | 64 + recipes-extended/xen/newlib_1.16.0.bb | 21 + recipes-extended/xen/polarssl.inc | 27 + recipes-extended/xen/polarssl_1.1.4.bb | 19 + recipes-extended/xen/stubdom-gmp.inc | 37 + recipes-extended/xen/stubdom-gmp_4.3.2.bb | 20 + recipes-extended/xen/stubdom.inc | 152 ++ recipes-extended/xen/tpm-emulator.inc | 37 + recipes-extended/xen/tpm-emulator_0.7.4.bb | 26 + recipes-extended/xen/xen-vtpm.inc | 111 + recipes-extended/xen/xen-vtpm_4.9.0.bb | 21 + 30 files changed, 4656 insertions(+) create mode 100644 recipes-extended/xen/files/lwip.dhcp_create_request-hwaddr_len.patch create mode 100644 recipes-extended/xen/files/lwip.patch-cvs create mode 100644 recipes-extended/xen/files/mini-os_udivmoddi4-gcc7.patch create mode 100644 recipes-extended/xen/files/newlib-chk.patch create mode 100644 recipes-extended/xen/files/newlib-stdint-size_max-fix-from-1.17.0.patch create mode 100644 recipes-extended/xen/files/newlib.patch create mode 100644 recipes-extended/xen/files/polarssl.patch create mode 100644 recipes-extended/xen/files/tpmemu-0.7.4.patch create mode 100644 recipes-extended/xen/files/vtpm-bufsize.patch create mode 100644 recipes-extended/xen/files/vtpm-cmake-Wextra.patch create mode 100644 recipes-extended/xen/files/vtpm-deepquote-anyloc.patch create mode 100644 recipes-extended/xen/files/vtpm-deepquote.patch create mode 100644 recipes-extended/xen/files/vtpm-implicit-fallthrough.patch create mode 100644 recipes-extended/xen/files/vtpm-locality.patch create mode 100644 recipes-extended/xen/files/vtpm-parent-sign-ek.patch create mode 100644 recipes-extended/xen/lwip.inc create mode 100644 recipes-extended/xen/lwip_1.3.0.bb create mode 100644 recipes-extended/xen/mini-os.inc create mode 100644 recipes-extended/xen/mini-os_4.9.0.bb create mode 100644 recipes-extended/xen/newlib.inc create mode 100644 recipes-extended/xen/newlib_1.16.0.bb create mode 100644 recipes-extended/xen/polarssl.inc create mode 100644 recipes-extended/xen/polarssl_1.1.4.bb create mode 100644 recipes-extended/xen/stubdom-gmp.inc create mode 100644 recipes-extended/xen/stubdom-gmp_4.3.2.bb create mode 100644 recipes-extended/xen/stubdom.inc create mode 100644 recipes-extended/xen/tpm-emulator.inc create mode 100644 recipes-extended/xen/tpm-emulator_0.7.4.bb create mode 100644 recipes-extended/xen/xen-vtpm.inc create mode 100644 recipes-extended/xen/xen-vtpm_4.9.0.bb
Signature · 8 lines
2.14.2 -- *This email and all attachments are considered confidential and the proprietary information of BrainTrust Holdings. Unauthorized disclosure is prohibited. *