Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feedback on QEMU Functionality in umbrelOS #1922

Open
nmfretz opened this issue Oct 14, 2024 · 1 comment
Open

Feedback on QEMU Functionality in umbrelOS #1922

nmfretz opened this issue Oct 14, 2024 · 1 comment

Comments

@nmfretz
Copy link
Collaborator

nmfretz commented Oct 14, 2024

This issue is for tracking and discussing potential interest in adding more QEMU functionality to umbrelOS. Currently, umbrelOS should have pretty good QEMU integration out-of-the-box, due to it being built on top of debian bookworm. However, @phaus noted a specific use case for a QEMU Guest Agent (getumbrel/umbrel-apps#1444), which allows the VM host to retrieve the client’s IP address.

We could explore adding more QEMU functionality to the core OS, but this would depend on there being a strong use-case for it and ensuring that it does not negatively impact users who do not use QEMU.

Would love any feedback or thoughts on this topic, particularly around potential use cases.

@phaus
Copy link
Contributor

phaus commented Oct 14, 2024

Hi there…
Since I am the creator of the initial request: Sometimes you already have a running Hypervisor (e.g. proxmox) in your homelab and you would like to don't setup another bare metal system to run umbrel.
For that reason it would be great to have reliable support as a VM guest.
That allows for example a proper shutdown. Also the IP of the guest (aka umbrel) is known to the hypervisor.
My initial approach was to use a docker image, that already packages the original add-ons.
Due to the requirement of using system devices, the security has to be widened for this container to work properly.
But you could also implement a service, that connectes to the (VM) linux device directly and implements the protocol.
I already linked a minimal Go implementation in the original issue: https://github.com/bradfitz/qemu-guest-kragent/blob/main/kragent.go

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

No branches or pull requests

2 participants