# QEMU in bluefin

**URL:** <https://universal-blue.discourse.group/t/qemu-in-bluefin/1073>\
**Category:** General\
**Created:** [April 12, 2024, 6:52pm UTC](https://universal-blue.discourse.group/t/qemu-in-bluefin/1073 "2024-04-12T18:52:37Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![realitymolder](https://yyz2.discourse-cdn.com/free1/user_avatar/universal-blue.discourse.group/realitymolder/32/1040_2.png) [@realitymolder](https://universal-blue.discourse.group/u/realitymolder)\
**Post date:** [April 12, 2024, 6:52pm UTC](https://universal-blue.discourse.group/t/qemu-in-bluefin/1073/1 "2024-04-12T18:52:37Z")

</div>

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! 🙂 like “just qemu” and it will auto-install qemu for the developer.

Thanks.

---

<div class="post-metadata">

**Author:** ![pawann](https://avatars.discourse-cdn.com/v4/letter/p/13edae/32.png) [@pawann](https://universal-blue.discourse.group/u/pawann)\
**Post date:** [April 13, 2024, 2:09am UTC](https://universal-blue.discourse.group/t/qemu-in-bluefin/1073/2 "2024-04-13T02:09:54Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![j0rge](https://yyz2.discourse-cdn.com/free1/user_avatar/universal-blue.discourse.group/j0rge/32/8_2.png) [@j0rge](https://universal-blue.discourse.group/u/j0rge)\
**Post date:** [April 13, 2024, 1:24pm UTC](https://universal-blue.discourse.group/t/qemu-in-bluefin/1073/3 "2024-04-13T13:24:50Z")

</div>

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

> [@Bluefin-dx - The Bluefin Developer Experience](https://universal-blue.discourse.group/t/bluefin-dx-the-bluefin-developer-experience/39):
>
> Bluefin/Aurora Developer Experience (bluefin-dx, aurora-dx) are a dedicated developer image with bundled tools. Unlike traditional Linux systems, the operating system and developer environment are explicitly and purposely separated. This means that tooling is not installed on the host, and is instead containerized, in a virtual machine, or scoped to the user’s home directory. It is designed to meet the following use cases: Endeavors to be the world’s most powerful [cloud native developer envir…](https://landscape.cncf.io/)

---

<div class="post-metadata">

**Author:** ![realitymolder](https://yyz2.discourse-cdn.com/free1/user_avatar/universal-blue.discourse.group/realitymolder/32/1040_2.png) [@realitymolder](https://universal-blue.discourse.group/u/realitymolder)\
**Post date:** [April 13, 2024, 9:18pm UTC](https://universal-blue.discourse.group/t/qemu-in-bluefin/1073/4 "2024-04-13T21:18:00Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![j0rge](https://yyz2.discourse-cdn.com/free1/user_avatar/universal-blue.discourse.group/j0rge/32/8_2.png) [@j0rge](https://universal-blue.discourse.group/u/j0rge)\
**Post date:** [April 13, 2024, 9:34pm UTC](https://universal-blue.discourse.group/t/qemu-in-bluefin/1073/5 "2024-04-13T21:34:05Z")

</div>

This is what I have on mine:

 ![image](https://global.discourse-cdn.com/free1/uploads/univeral_blue/original/2X/4/4b0ee3b998dfd56ba7ae64d26d3759b667da27e5.png)

---

<div class="post-metadata">

**Author:** ![f0nzie](https://avatars.discourse-cdn.com/v4/letter/f/97f17d/32.png) [@f0nzie](https://universal-blue.discourse.group/u/f0nzie)\
**Post date:** [April 15, 2024, 3:03am UTC](https://universal-blue.discourse.group/t/qemu-in-bluefin/1073/6 "2024-04-15T03:03:32Z")

</div>

@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?

---

<div class="post-metadata">

**Author:** ![j0rge](https://yyz2.discourse-cdn.com/free1/user_avatar/universal-blue.discourse.group/j0rge/32/8_2.png) [@j0rge](https://universal-blue.discourse.group/u/j0rge)\
**Post date:** [April 15, 2024, 3:03pm UTC](https://universal-blue.discourse.group/t/qemu-in-bluefin/1073/7 "2024-04-15T15:03:08Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![m2Giles](https://yyz2.discourse-cdn.com/free1/user_avatar/universal-blue.discourse.group/m2giles/32/471_2.png) [@m2Giles](https://universal-blue.discourse.group/u/m2Giles)\
**Post date:** [April 17, 2024, 12:31am UTC](https://universal-blue.discourse.group/t/qemu-in-bluefin/1073/8 "2024-04-17T00:31:30Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![f0nzie](https://avatars.discourse-cdn.com/v4/letter/f/97f17d/32.png) [@f0nzie](https://universal-blue.discourse.group/u/f0nzie)\
**Post date:** [April 17, 2024, 3:10pm UTC](https://universal-blue.discourse.group/t/qemu-in-bluefin/1073/9 "2024-04-17T15:10:20Z")

</div>

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

![image](https://global.discourse-cdn.com/free1/uploads/univeral_blue/original/2X/5/543c8e97704bbc4b2a0316042d3ca9fe34511c3c.png)
