Skip to content

build: preserve Landlock for Cloud Hypervisor VFIO - #937

Draft
zibi-pplx wants to merge 1 commit into
pr944from
pr936
Draft

zibi-pplx wants to merge 1 commit into
pr944from
pr936

Conversation

@zibi-pplx

@zibi-pplx zibi-pplx commented Oct 25, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Add a static x86-64 Cloud Hypervisor build from a checksum-pinned v54.0 source archive. Correct VFIO Landlock rules to resolve the PCI device's iommu_group link and allow read access only to that device subtree.

Export the binary checksum, source/patch identity and upstream licenses. The result requires a separate catalog identity; this change neither replaces the upstream pin nor changes runtime selection.

Validation

Built the exported artifact and ran a CUDA calculation through VFIO with Landlock enabled, an unprivileged VMM, a minimal chroot, and PID/mount namespaces. The stock v54.0 binary refused the same Landlock device configuration before the correction. A host-file control-API probe remained confined to the chroot.

Severity and risk

The upstream path bug prevents VFIO launch with Landlock. Deployment risk is low because this adds a build recipe only; artifact publication, qualification and admission remain separate.

Stack

GPU execution, after the CPU-only Cloud Hypervisor group. #962 is the first PR in this group and supplies the SQLite schema before #945 and the device consumers. Requirements, artifact delivery, fenced ownership, operator visibility and GPU smoke coverage follow. Device-bearing requests remain standalone-only. The scrub candidate in #950 is unqualified; this stack does not claim production-safe tenant reuse.

AI assistance: Codex implemented and validated the change and drafted this description.


Stack created with Sapling. Best reviewed with ReviewStack.
Base: #960, the separate Cloud Hypervisor CPU execution stack.

This was referenced Oct 25, 2026
@zibi-pplx
zibi-pplx changed the base branch from main to pr931 October 25, 2026 16:55
@zibi-pplx
zibi-pplx added this pull request to stack #951 October 25, 2026 16:55
@zibi-pplx
zibi-pplx force-pushed the pr936 branch 2 times, most recently from f0741bf to ce84ec6 Compare October 25, 2026 17:04
## Summary

Add a static x86-64 Cloud Hypervisor build from a checksum-pinned v54.0 source archive. Correct VFIO Landlock rules to resolve the PCI device's iommu_group link and allow read access only to that device subtree.

Export the binary checksum, source/patch identity and upstream licenses. The result requires a separate catalog identity; this change neither replaces the upstream pin nor changes runtime selection.

## Validation

Built the exported artifact and ran a CUDA calculation through VFIO with Landlock enabled, an unprivileged VMM, a minimal chroot, and PID/mount namespaces. The stock v54.0 binary refused the same Landlock device configuration before the correction. A host-file control-API probe remained confined to the chroot.

## Severity and risk

The upstream path bug prevents VFIO launch with Landlock. Deployment risk is low because this adds a build recipe only; artifact publication, qualification and admission remain separate.

## Stack

GPU execution, after the CPU-only Cloud Hypervisor group. #962 is the first PR in this group and supplies the SQLite schema before #945 and the device consumers. Requirements, artifact delivery, fenced ownership, operator visibility and GPU smoke coverage follow. Device-bearing requests remain standalone-only. The scrub candidate in #950 is unqualified; this stack does not claim production-safe tenant reuse.

AI assistance: Codex implemented and validated the change and drafted this description.

This branch has not been deployed

No deployments
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.

1 participant