This website requires JavaScript.
Explore
Help
Register
Sign In
jarod
/
unkernel
Watch
1
Star
0
Fork
0
You've already forked unkernel
mirror of
https://github.com/pithings/unkernel.git
synced
2026-12-04 01:29:40 +08:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
Files
b916d273dd4f1ad0c8ece5253bb857f0dfbb1164
unkernel
/
test
History
Pooya Parsa
47a0202a64
guest, js: one program for the guest tools, and a Debian boot read from the image's front: kwbox (/usr/bin/kwbox, guest/src/kwbox.c) links kwtty, kw9p, kwvsock, kwshm, kwwasi, kwcmd and vtest-bridge into one static binary, called as kwbox tty|9p|vsock|shm|wasi|cmd|vtest (the per-tool paths are gone but binfmt's interpreter /usr/lib/kw/kwwasi; any other name it is called by is a host command, and kwbox is a reserved command name); /init sends an image or upper whose init still runs /usr/bin/kwtty to the base shell or safe mode; the traced boot that lays out an image is the page's (kwshm, kw.gl=1 kw.wayland=1), so wlandr is in Debian's boot set; HttpBase's background tier waits for the first read of the image before its quiet second (an image opened while its kernel loads fetched it during the boot)
2026-11-22 16:11:20 +00:00
..
gl
gl: a new renderer after a lost WebGL context, and no renderer for 2D clients: after a loss the guest's next new GL context (or vtest client) builds a fresh renderer, so GL programs started after it work without a page reload (those running at the loss fail every command until restarted; vm.gl.status lost, losses, renewals); a dumb-buffer KMS client's context commands are held and answered without loading the renderer, and reach it before the first command that needs GL; checks for display resize, multisampling, context loss and Chromium's GPU path
2026-11-22 12:17:33 +00:00
gpu
gl: multisampling on WebGL2 (virglrenderer patch 17): multisample resources become multisample renderbuffers on a host without multisample textures, so Mesa offers 4 samples, ANGLE in the guest's Chromium gets its ES 3.0 context and Chromium composites and runs WebGL on the GPU (it exited its GPU process and fell back to software); the chromium hook names Mesa's EGL packages where they are missing
2026-11-22 12:17:33 +00:00
guest
test: add app-bench (Node, Bun and Claude Code timings of several bundles on the profile disk, with --stats counters and per-variant guest variables); kwemu: count freed modules by reason in the stats build (Jx.free_why, the CLI's [kwemu-free] line); record the 2026-11-21 findings in the agent docs: the tenured ring and the slot pool are stacked limits, a 512K ring with 4096 slots is no faster, and a shared op store keyed by physical page is rejected
2026-11-21 14:13:01 +00:00
wasi
Run WASI programs from the guest on the host's wasm engine (prototype)
2026-11-19 07:08:32 +00:00
wland
gl: a new renderer after a lost WebGL context, and no renderer for 2D clients: after a loss the guest's next new GL context (or vtest client) builds a fresh renderer, so GL programs started after it work without a page reload (those running at the loss fail every command until restarted; vm.gl.status lost, losses, renewals); a dumb-buffer KMS client's context commands are held and answered without loading the renderer, and reach it before the first command that needs GL; checks for display resize, multisampling, context loss and Chromium's GPU path
2026-11-22 12:17:33 +00:00
9p-bench.ts
sdk: boot distro images from a file or over HTTP
2026-11-19 14:46:13 +00:00
9p.test.ts
Initial commit
2026-11-15 23:27:04 +00:00
a64-coverage.mjs
Switch the guest CPU to AArch64
2026-11-19 00:12:38 +00:00
a64-simd-fuzz.mjs
Move the kwemu test guests from guest/ to test/guest/
2026-11-19 07:37:16 +00:00
a64-test.mjs
a64: translate AdvSIMD, AES, PMULL and SHA with wasm SIMD
2026-11-19 00:12:38 +00:00
api.test.ts
guest, js: one program for the guest tools, and a Debian boot read from the image's front: kwbox (/usr/bin/kwbox, guest/src/kwbox.c) links kwtty, kw9p, kwvsock, kwshm, kwwasi, kwcmd and vtest-bridge into one static binary, called as kwbox tty|9p|vsock|shm|wasi|cmd|vtest (the per-tool paths are gone but binfmt's interpreter /usr/lib/kw/kwwasi; any other name it is called by is a host command, and kwbox is a reserved command name); /init sends an image or upper whose init still runs /usr/bin/kwtty to the base shell or safe mode; the traced boot that lays out an image is the page's (kwshm, kw.gl=1 kw.wayland=1), so wlandr is in Debian's boot set; HttpBase's background tier waits for the first read of the image before its quiet second (an image opened while its kernel loads fetched it during the boot)
2026-11-22 16:11:20 +00:00
app-bench.mjs
test: add app-bench (Node, Bun and Claude Code timings of several bundles on the profile disk, with --stats counters and per-variant guest variables); kwemu: count freed modules by reason in the stats build (Jx.free_why, the CLI's [kwemu-free] line); record the 2026-11-21 findings in the agent docs: the tenured ring and the slot pool are stacked limits, a 512K ring with 4096 slots is no faster, and a shared op store keyed by physical page is rejected
2026-11-21 14:13:01 +00:00
app-bench.sh
test: add app-bench (Node, Bun and Claude Code timings of several bundles on the profile disk, with --stats counters and per-variant guest variables); kwemu: count freed modules by reason in the stats build (Jx.free_why, the CLI's [kwemu-free] line); record the 2026-11-21 findings in the agent docs: the tenured ring and the slot pool are stacked limits, a 512K ring with 4096 slots is no faster, and a shared op store keyed by physical page is rejected
2026-11-21 14:13:01 +00:00
block.test.ts
guest, js: one program for the guest tools, and a Debian boot read from the image's front: kwbox (/usr/bin/kwbox, guest/src/kwbox.c) links kwtty, kw9p, kwvsock, kwshm, kwwasi, kwcmd and vtest-bridge into one static binary, called as kwbox tty|9p|vsock|shm|wasi|cmd|vtest (the per-tool paths are gone but binfmt's interpreter /usr/lib/kw/kwwasi; any other name it is called by is a host command, and kwbox is a reserved command name); /init sends an image or upper whose init still runs /usr/bin/kwtty to the base shell or safe mode; the traced boot that lays out an image is the page's (kwshm, kw.gl=1 kw.wayland=1), so wlandr is in Debian's boot set; HttpBase's background tier waits for the first read of the image before its quiet second (an image opened while its kernel loads fetched it during the boot)
2026-11-22 16:11:20 +00:00
distro.test.ts
guest, js: one program for the guest tools, and a Debian boot read from the image's front: kwbox (/usr/bin/kwbox, guest/src/kwbox.c) links kwtty, kw9p, kwvsock, kwshm, kwwasi, kwcmd and vtest-bridge into one static binary, called as kwbox tty|9p|vsock|shm|wasi|cmd|vtest (the per-tool paths are gone but binfmt's interpreter /usr/lib/kw/kwwasi; any other name it is called by is a host command, and kwbox is a reserved command name); /init sends an image or upper whose init still runs /usr/bin/kwtty to the base shell or safe mode; the traced boot that lays out an image is the page's (kwshm, kw.gl=1 kw.wayland=1), so wlandr is in Debian's boot set; HttpBase's background tier waits for the first read of the image before its quiet second (an image opened while its kernel loads fetched it during the boot)
2026-11-22 16:11:20 +00:00
gl-gpu.test.ts
gl: a new renderer after a lost WebGL context, and no renderer for 2D clients: after a loss the guest's next new GL context (or vtest client) builds a fresh renderer, so GL programs started after it work without a page reload (those running at the loss fail every command until restarted; vm.gl.status lost, losses, renewals); a dumb-buffer KMS client's context commands are held and answered without loading the renderer, and reach it before the first command that needs GL; checks for display resize, multisampling, context loss and Chromium's GPU path
2026-11-22 12:17:33 +00:00
glimmer-check.mjs
cli: rename --smp to --cpus
2026-11-19 16:04:15 +00:00
guest-bench.sh
guest: build the Alpine image from stock packages, without the kwemu rebuild
2026-11-19 17:07:49 +00:00
http.test.ts
Initial commit
2026-11-15 23:27:04 +00:00
kpatch.test.ts
Build the SMP kernel and the bundle's SMP patch with kernel/build.sh
2026-11-17 13:23:55 +00:00
kwemu-bench.mjs
Move the kwemu test guests from guest/ to test/guest/
2026-11-19 07:37:16 +00:00
kwemu-jit-host.mjs
Remove the riscv64 CPU, reset the kwemu ABI to 2
2026-11-19 00:12:39 +00:00
kwemu-unit-wasm.mjs
Remove the riscv64 CPU, reset the kwemu ABI to 2
2026-11-19 00:12:39 +00:00
net-helpers.ts
Initial commit
2026-11-15 23:27:04 +00:00
net.test.ts
Initial commit
2026-11-15 23:27:04 +00:00
profile.test.ts
profile: take an executable segment's size in memory when naming an offset, so that separate debug files, whose segments are cut short in the file, give names
2026-11-20 19:00:48 +00:00
profile.ts
test: profile CPUs and worker mode on Node, and document both profilers
2026-11-19 16:45:47 +00:00
tty.test.ts
guest: keep a detachable kwtty session and its pty when a restore resets its connection, and let the host attach to it again by id with a replay of its recent output
2026-11-20 12:04:45 +00:00
wasi-binfmt.ts
guest, js: one program for the guest tools, and a Debian boot read from the image's front: kwbox (/usr/bin/kwbox, guest/src/kwbox.c) links kwtty, kw9p, kwvsock, kwshm, kwwasi, kwcmd and vtest-bridge into one static binary, called as kwbox tty|9p|vsock|shm|wasi|cmd|vtest (the per-tool paths are gone but binfmt's interpreter /usr/lib/kw/kwwasi; any other name it is called by is a host command, and kwbox is a reserved command name); /init sends an image or upper whose init still runs /usr/bin/kwtty to the base shell or safe mode; the traced boot that lays out an image is the page's (kwshm, kw.gl=1 kw.wayland=1), so wlandr is in Debian's boot set; HttpBase's background tier waits for the first read of the image before its quiet second (an image opened while its kernel loads fetched it during the boot)
2026-11-22 16:11:20 +00:00
wasi-node.ts
Give the guest /dev/dri: kwvirtio, a virtio transport over host imports, with the stock virtio_gpu driver (createKernel({ gpu }), --gpu); the SDK's device model shows dumb-buffer scanouts on the host display and, with gl, runs virgl 3D on the page's renderer through virglrenderer's API (patch 13), presents a KMS scanout from the renderer's texture without readback and gives host code a resource's texture (vm.gl.gpu.texture); the kernel leaves out I2C, the HDMI infoframe library, the panel bridge and NET_DEVMEM (four generic switches) and backports the virtio-gpu damage-clip fix
2026-11-21 20:27:49 +00:00
ws-server.ts
Initial commit
2026-11-15 23:27:04 +00:00
ws.test.ts
web: WebSockets in the guest preview: the service worker puts the shim /vm-ws.js into the HTML documents it relays, whose WebSocket reaches the guest (ws://localhost:<port>, /vm/<id>/<port>/, root-relative paths) through the page over a BroadcastChannel, where websocketOver() (js/core/ws.ts, RFC 6455 over vm.connect()) runs it, with credits, a socket cap and Web Locks for teardown; a preview document's root-relative requests are relayed to its port, so a Vite dev server's client and HMR work
2026-11-22 15:22:51 +00:00