OPNsense Forum
English Forums => General Discussion => Topic started by: 3XTron on August 31, 2017, 09:16:28 am
-
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
-
http://libvir-list.redhat.narkive.com/TDjBSCe0/libvirt-qemu-agent-command-via-isa-serial-for-freebsd#post11
This can help?
-
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?
-
None that I know of, sorry.
-
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
-
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... ;-)
-
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 (https://github.com/aborche/qemu-guest-agent), 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.
-
A proposed use case for the guest-agent: live migration. QEMU requires the guest agent to be able to perform live migration functions.
-
Hi folks,
Is there any progress with this package/port ?
Regards
Carlos
-
The check is simple: is there a portable software in the FreeBSD ports tree with only the guest agent and little to no dependencies?
yes -> there is progress
no -> there is no progress
Cheers,
Franco
-
Hi Franco,
I believe that now it is possible port it.
Cmmited on freebsd ports.
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232949
Other references
https://redmine.pfsense.org/issues/9877
Best regards
Carlos
-
Hi folks.
Is there any ETA for add this plugin?
Regards
-
Please Open a request in GitHub, better to track
-
Please please please bark up the right tree, https://github.com/aborche/qemu-guest-agent is *not* in FreeBSD ports and we don't want to maintain it in our tree with all of the qemu update stuff going on in FreeBSD...
Cheers,
Franco
-
Since a few day it's available in freebsd ports, perhaps worth a look ;)
https://svnweb.freebsd.org/ports/head/emulators/qemu-guest-agent (https://svnweb.freebsd.org/ports/head/emulators/qemu-guest-agent)
-
Posted this without looking at the repo:
https://github.com/opnsense/plugins/pull/2293 (https://github.com/opnsense/plugins/pull/2293)
Great!
-
As promised... but Frank beat me to it. ;)
Cheers,
Franco