QEMU Guest Agent

Does anyone know if the Features/GuestAgent - QEMU is already installed in the QEMU X86 64BIT BALENAOS 2.83.18+REV5 image?

We are looking to deploy balena devices via Proxmox and need the qemu-guest-agent to be able to manage the device from Proxmox (Qemu-guest-agent - Proxmox VE).

Thanks,
Gerard.

When I launch the VM in Virtual Manager I ca see gthe Channel qemu-ga device but its state is disconnected.

Bumping this to see if anyone has any info. Thanks.

Hi Gerard,

Great question, thanks for asking. The rest of the team poked me to answer this, as I use and evangelize QEMU quite frequently. :slight_smile:

The Host OS does not ship with the QEMU guest agent already installed, but nothing should stop you from running it in a container. Depending on the functionality required, you may need to disable certain container isolation features, such as PID namespaces, enabling host mode networking, etc. You may also need to either add required capabilities to the container, or run the container privileged. I don’t use the guest agent myself, so I don’t have first hand experience with the requirements of it.

Doing a little searching, however, I came across this. It looks like you’ll need to pass the virtio guest agent device though to the guest agent running containerized, enable host mode networking, and disable UTS namespacing.

Let me know if this helps, and if you run into any more issues.

@g-corrigan

Thanks @jakogut, appreciate you looking into this. I had a quick look at the repo linked and I think that should work. I will do some work on it later this week and let you know how it goes.

Hi, just wanted to follow up and see if you have had a chance to try the resources my colleague linked? Could you confirm whether the linked repo works for you?