Skip to content

s390x: Introduce s390x CI container#145

Open
fneddy wants to merge 2 commits into
rust-vmm:mainfrom
fneddy:s390x
Open

s390x: Introduce s390x CI container#145
fneddy wants to merge 2 commits into
rust-vmm:mainfrom
fneddy:s390x

Conversation

@fneddy

@fneddy fneddy commented Apr 7, 2026

Copy link
Copy Markdown

Summary of the PR

I would like to use seccompiler on s390x.

To get the CI running a new dev image is needed just like for riscv.
I copied the riscv setup and striped it down for s390x. This are my changes:

  • use vanilla kernel instead of custom build
  • use vanilla qemu instead of custom build
  • use initrd to get 9p boot running.
  • no riscv specific drivers

Conceptually its the same as the riscv image:

  • create a s390x dev image (rootfs_builder)
  • install all dev dependencies
  • create a native dev image
  • copy (rootfs_builder) into the native image at /opt/rootfs
  • setup auto boot of the newly created rootfs via qemu-system-s390x in container entrypoint

Requirements

Before submitting your PR, please make sure you addressed the following
requirements:

  • All commits in this PR have Signed-Off-By trailers (with
    git commit -s), and the commit message has max 60 characters for the
    summary and max 75 characters for each description line.
  • All added/changed functionality has a corresponding unit/integration
    test.
  • All added/changed public-facing functionality has entries in the "Upcoming
    Release" section of CHANGELOG.md (if no such section exists, please create one).
  • Any newly added unsafe code is properly documented.

@fneddy fneddy changed the title S390x s390x: Introduce s390x CI container Apr 7, 2026
@fneddy

fneddy commented Apr 7, 2026

Copy link
Copy Markdown
Author

Note:

  • the push-to-registry flag is not set yet
  • as rust-vmm itself is by far not ready to compile on s390x its not mentioned in the README.md (yet). My aim at this time is to get big-endian and s390x support into seccompiler.

@epilys

epilys commented May 18, 2026

Copy link
Copy Markdown
Member

Hi @fneddy, is this for running CI locally on your end? Is there a plan to offer a dedicated s390x runner for build kite or only emulated with QEMU like riscv?

@fneddy

fneddy commented May 18, 2026

Copy link
Copy Markdown
Author

this is to run emulated s390x runners on buildkite via QEMU. there might be the possibility to run this native on real s390x infrastructure provided by actionspz. However I think that might actually be to much for now.

@epilys

epilys commented May 18, 2026

Copy link
Copy Markdown
Member

@fneddy we could also potentially add a dedicated runner to buildkite in the future, actionspz seems to be Github Actions only

@fneddy

fneddy commented May 18, 2026

Copy link
Copy Markdown
Author

for opensource projects it is also possible to request a blank native s390x vm at marist university and run their own CI workers on that.

fneddy added 2 commits May 21, 2026 13:05
Signed-off-by: Eddy (Eduard) Stefes <eddy@linux.ibm.com>
Signed-off-by: Eddy (Eduard) Stefes <eddy@linux.ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants