libkrun
A dynamic library providing Virtualization-based process isolation capabilities
What XERJ indexed
Snapshot
Only bindings/libkrun-via-libc, include, src/devices/src/legacy, src/libkrun/src/api, src/libkrun/src/vmm/device_manager at commit 12998159ed (2026-10-19). main is 62 commits ahead.
Selected work

“add PIT device initialization for Windows”. 4 files, 553 lines in src/devices, src/libkrun.
Also selected on this repository: @mtjhrc (6a65c32e1492).
Licence
The repository
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
The author agreed by email on 2026-10-20. Same terms as the repository. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution
Example questions
- Where does libkrun handle “add PIT device initialization for Windows”?
- What does src/devices do in libkrun?
Inside the indexed corpus
- 421 files, 103.9 MB in total, about 252.8 KB per file.
- The selected commit changed 4 of those files (1.0%).
- Languages by size: Rust 97.7%, C 1.7%, Makefile 0.4%, Shell 0.3%.
- On GitHub since 2020-08-13, last push 2026-10-30, 1,733 commits on main.
- The pin is 62 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported Apache-2.0 for libkrun/libkrun on 2026-10-31, and the LICENSE file at commit 12998159ed was reviewed as Apache-2.0. They match, so answers from this corpus carry the same terms as the live repository.
Contributors
Luca Stocchi (@lstocchi) has 1 selected repository on the hub.
Matej Hrica (@mtjhrc) was also selected on libkrun/libkrun and has 1 selected repository on the hub.
Using XERJ with libkrun
- Search an OpenAPI spec so an agent can find endpoints The hub files it under API design and specification.
- Best MCP servers for local code search in 2026, compared
- Best grep alternative for AI coding agents (2026)
- Ask questions about a GitHub repo without cloning it
The prompt
Paste it into your AI agent. It clones libkrun/libkrun at the pinned commit and indexes it on your machine.
Search the GitHub repository libkrun/libkrun with XERJ (https://hub.xerj.org/corpus/libkrun--libkrun). Run these in a shell, in order, and check each result before the next: 1. xerj --help (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh 2. git clone https://github.com/libkrun/libkrun libkrun && git -C libkrun checkout 12998159ed38a306913900e280e15a7af279c2f3 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./libkrun --url http://127.0.0.1:9200 --prefix libkrun --progress plain 5. xerj autoindex map --url http://127.0.0.1:9200 Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt Licence: Apache-2.0. Keep the copyright notice and credit the authors.
Related
Luca StocchiAPI design and specification corpora
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.