KVM-Qemu Guest Agent

Started by 3XTron, August 31, 2017, 09:16:28 AM

Previous topic - Next topic
Hi, is planned to support and implement KVM-Qemu Guest Agent as plugin?

Hi there,

Do you happen to know if FreeBSD ports has an appropriate package for this?


Cheers,
Franco


From this post the tool is inside
https://www.freshports.org/emulators/qemu-sbruno/

However this looks like a special branch of the original from the package description.

Not entirely. But there is a quemu-ga binary in the stock qemu package. It just looks like nobody wrote the RC scripts for its deployment in FreeBSD. I can try to build a "qemu-ga" standalone package that would do this, but no promises...


Cheers,
Franco

It will be a great news if you will port, support and implement KVM-Qemu Guest Agent as plugin.
Since KVM-Qemu is using in cloud hosting and VPS hosting very wide.
I'm using OPNsens in Proxmox VE.
Thank you !

Any progress or updates with the qemu guest agent plugin?


What is the benefit of this pkg? It's more FreeBSD related, nothing useful for OPNsense I'd guess.

The virtualisation host can make opnsense shutdown/reboot without simply killing it

Quote from: mwelters on March 29, 2018, 01:02:58 PM
The virtualisation host can make opnsense shutdown/reboot without simply killing it

It doesn't need qemu-guest for that. If acpi is enabled for the VM, it will use an acpi call to get the VM to shutdown properly. AFAIK acpi is enabled by default.

More info: https://pve.proxmox.com/wiki/Qemu-guest-agent

I'ld love to see a package for the GA too... ;-)

May 30, 2018, 08:44:28 AM #12 Last Edit: May 30, 2018, 08:50:30 AM by ssl-3
If the only purpose is to enable a clean shutdown, as moonman said:  It works fine already with qemu using ACPI.  (Edit: I just checked.  Reboot works cleanly as well.)

Just instruct qemu to shut down the opnsense guest, and the guest goes through a proper shutdown procedure.

If there are other things that might be wanted from a guest package, I'm all ears, but currently FreeBSD/OPNsense already supports all of the important virtio drivers and proper shutdown with qemu.  There doesn't seem to be any functionality left to add.

The agent is a two-way communication channel. For example, it is also possible to display the IPs in the host. That's why I'm waiting very longingly for the package for the agent.

As noted, the agent is not needed to cleanly shut down a FreeBSD/OPN guest. And although having the IPs in the PVE console would be nice to have, it's doesn't really add much value.

But what would be a compelling use case is the ability to quiesce a FreeBSD/OPN guest for clean snapshots.

While there is a partially functional port, fsfreeze doesn't yet work. So I guess I'm bumping this just to add visibility that there is work in progress on an agent.