QEMU in bluefin

Hey there, Is it optional to install qemu emulation through homebrew? Or should I resort to layered packages? If so, maybe we can move the deps to linux-brew so we can just install it from brew. Then we can add it to a just command! :slight_smile: like “just qemu” and it will auto-install qemu for the developer.

Thanks.

I hope you understand that qemu/kvm needs root access, I don’t think brew can access the root partition (I am talking about /etc, /usr and other folders that have root access) or could be given root access because that breaks the whole point of the system itself, the only way to go is with layering.

TLDR: It’s actually a better decision to layer than to setup qemu emulation via brew.

1 Like

Yeah if you want qemu turn on developer mode and then roll with the -dx image.

1 Like

I’ve checked out the latest branch with dev mode on, QEMU should be on my path automatically?
if so, its not at the moment.

This is what I have on mine:

@j0rge ,
Since the discussion is about QEMU, I noticed something when I want to use Virtual Manager. In Bluefin I can open it right away, but in Bluefin-DX when I try opening it asks me for the administrator password. It this by design?

I don’t know if we did that on purpose or not. :smile:

On -dx there is a local qemu:///system. To connect to that it requires the user to either be apart of the libvirt group or get privileges via polkit.

If you want to add yourself to the group you can use our ujust dx-groups which will also add you to incus-admin, lxd, and docker groups.

1 Like

Excellent!
ujust dx-group did it!
Thanks @m2Giles!

image