Repository navigation
feat: Add support for guest services - #193
Merged
Merged
Conversation
… jail The listener lives in the node-writable socket dir, so the helper derives both names from the VM id, refuses symlinks and any socket with a second name, and gives the jail only group access (0660).
❌ 4 Tests Failed:
View the top 3 failed test(s) by shortest run time
To view more test analytics, go to the Test Analytics Dashboard |
Test Results 4 files ± 0 360 suites +8 5m 25s ⏱️ +24s For more details on these errors, see this check. Results for commit 3cb8421. ± Comparison against base commit c8db325. ♻️ This comment has been updated with latest results. |
…ces/supervisor.ex
vm_launch already builds a fresh jail on every boot, before the jailer runs, so the guest listener is linked there instead of by a separate vm_link_guest_socket op that rewrote a running VM's jail. The op, its Elixir wrapper, the Configuring step and the services supervisor are gone; the Listener is a temporary FireVMM child, since a rebind can no longer relink.
max_heap_size ignored off-heap binaries, so a handler buffering guest bytes
across {:continue, _} grew without bound and the 64 MiB kill never fired.
…p failure await_exec re-ran apk add after the exec timed out while the first apk still held the lock, so setup failed with exit 99 before on_exit was registered and the leaked VMs starved the later suites of capacity.
…ling socat CI guests have no route to the internet, so apk add socat could only time out. python:alpine ships AF_VSOCK in its socket module, so the guest side needs no package at all.
open() panicked on a name that is not one strict component while pin() and unpin() returned PinError::Name for the same conversion; all three now share a fallible name().
markovejnovic
marked this pull request as ready for review
November 23, 2026 07:33
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds support for guest services to Hyper. Guest services are elixir behaviours that allow the guest VMs to talk to the hypervisor.