OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • KVM-Qemu Guest Agent
« previous next »
  • Print
Pages: [1] 2

Author Topic: KVM-Qemu Guest Agent  (Read 35458 times)

3XTron

  • Newbie
  • *
  • Posts: 8
  • Karma: 2
    • View Profile
KVM-Qemu Guest Agent
« on: August 31, 2017, 09:16:28 am »
Hi, is planned to support and implement KVM-Qemu Guest Agent as plugin?
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17705
  • Karma: 1618
    • View Profile
Re: KVM-Qemu Guest Agent
« Reply #1 on: August 31, 2017, 09:22:28 am »
Hi there,

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


Cheers,
Franco
Logged

3XTron

  • Newbie
  • *
  • Posts: 8
  • Karma: 2
    • View Profile
Re: KVM-Qemu Guest Agent
« Reply #2 on: August 31, 2017, 09:52:10 am »
http://libvir-list.redhat.narkive.com/TDjBSCe0/libvirt-qemu-agent-command-via-isa-serial-for-freebsd#post11
This can help?
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2769
  • Karma: 200
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: KVM-Qemu Guest Agent
« Reply #3 on: August 31, 2017, 10:02:45 am »
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.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17705
  • Karma: 1618
    • View Profile
Re: KVM-Qemu Guest Agent
« Reply #4 on: August 31, 2017, 10:04:40 am »
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
Logged

3XTron

  • Newbie
  • *
  • Posts: 8
  • Karma: 2
    • View Profile
Re: KVM-Qemu Guest Agent
« Reply #5 on: September 01, 2017, 01:40:13 pm »
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 !
Logged

hightechrdn

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
Re: KVM-Qemu Guest Agent
« Reply #6 on: January 11, 2018, 01:25:18 am »
Any progress or updates with the qemu guest agent plugin?
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17705
  • Karma: 1618
    • View Profile
Re: KVM-Qemu Guest Agent
« Reply #7 on: January 11, 2018, 12:26:29 pm »
None that I know of, sorry.
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: KVM-Qemu Guest Agent
« Reply #8 on: January 11, 2018, 12:53:42 pm »
What is the benefit of this pkg? It's more FreeBSD related, nothing useful for OPNsense I'd guess.
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

mwelters

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Re: KVM-Qemu Guest Agent
« Reply #9 on: March 29, 2018, 01:02:58 pm »
The virtualisation host can make opnsense shutdown/reboot without simply killing it
Logged

moonman

  • Newbie
  • *
  • Posts: 22
  • Karma: 6
    • View Profile
Re: KVM-Qemu Guest Agent
« Reply #10 on: May 10, 2018, 05:17:56 am »
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
Logged

mircsicz

  • Full Member
  • ***
  • Posts: 113
  • Karma: 3
    • View Profile
Re: KVM-Qemu Guest Agent
« Reply #11 on: May 19, 2018, 02:28:22 am »
I'ld love to see a package for the GA too... ;-)
Logged

ssl-3

  • Newbie
  • *
  • Posts: 1
  • Karma: 1
    • View Profile
Re: KVM-Qemu Guest Agent
« Reply #12 on: May 30, 2018, 08:44:28 am »
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.
« Last Edit: May 30, 2018, 08:50:30 am by ssl-3 »
Logged

proofy

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: KVM-Qemu Guest Agent
« Reply #13 on: July 20, 2018, 01:38:56 pm »
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.
Logged

doug.dimick

  • Newbie
  • *
  • Posts: 18
  • Karma: 7
    • View Profile
Re: KVM-Qemu Guest Agent
« Reply #14 on: February 19, 2019, 06:57:36 pm »
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.
Logged

  • Print
Pages: [1] 2
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • KVM-Qemu Guest Agent
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2