◈ Passerelle

Project

Upstream contributions

This directory holds the changes Passerelle proposes <strong>back</strong> to the projects it builds on, rather than forking them.

The specification (0, section 3.1) puts two options on the table: rewrite everything, or contribute to what exists. The project takes option 2 as its first move — a working x86_64 9P share reached by adding a transport to an existing client is worth more than a third client that duplicates the first two — and keeps option 3 (virtiofs, which nobody has done for a QNX guest) as the new work. This directory is where option 2 lives.

What is proposed, to whom, and where it stands

Project Licence What we propose State
0 Apache-2.0 A virtio-pci transport plus the x86_64 target, behind its own src/transport.h; four patches and a cover letter in 1 <strong>Ready to send.</strong> The series applies to its tree (git apply --check, then git am), the host build and its unit tests pass. Not yet validated on an x86_64 QNX image — see 2. Nothing has been pushed: the coordinator decides when and how to open the pull request.
0, directory src/common/virtio9p Apache-2.0 Nothing to merge. Its PCI client is the public reference for MSI-X on QNX without a root PCI server configuration, and reading it produced a list of improvement suggestions. In 0 <strong>Findings only.</strong> Written as suggestions to its maintainers, not as a patch: the changes we would make touch its error handling and its interrupt path, which is more than a drive-by patch should.
0 MIT Nothing: it is evaluated for <strong>reuse</strong>, not for contribution. The evaluation behind decision D3 is in 0 <strong>Evaluated, not reused.</strong> Its transport is real and well built, but every layer of Passerelle must also build and run its tests on the PC, which needs a bus-access abstraction it does not have.

Ground rules

Layout

upstream/
├── README.md                          this file
├── qnx-fs-9p/
│   ├── cover-letter.md                the message to the author
│   ├── patches/000{1..4}-*.patch      git format-patch series, applies to 868a718
│   ├── validation.md                  what is proven on a PC, what is not
│   └── syntax-check/                  PC-side syntax check for the QNX-only files
├── eclipse-score/
│   └── findings.md                    improvement suggestions, and its MSI-X method
└── kodebooth-qnx-virtio/
    └── evaluation.md                  the reuse decision (D3), argued

Reproducing the checks

The patch series is verified against a fresh clone of the upstream tree, at its only commit:

git clone <qnx-fs-9p> /tmp/fs9p && cd /tmp/fs9p
for p in /path/to/passerelle/upstream/qnx-fs-9p/patches/*.patch; do
    git apply --check "$p" && git am --keep-cr "$p"
done
cmake -S . -B build && cmake --build build && ctest --test-dir build

The QNX-only files are checked on a PC without the SDP, against declarations-only stand-ins for the QNX headers:

/path/to/passerelle/upstream/qnx-fs-9p/syntax-check/syntax-check.sh /tmp/fs9p

Both checks are described in 0.