Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: qemu-guest-agent configuration?
Sent with Proton Mail secure email.
On Tuesday, 15 July 2025 at 10:47, Thomas Klausner <wiz%NetBSD.org@localhost> wrote:
> Hi!
>
> Is anyone using qemu-guest-agent?
Yes,
>
> I wanted to set it up in a virtual environment, but the defaults don't
> work (i.e. without a config file):
>
> # /etc/rc.d/qemu-guest-agent start
> Starting qemu_guest_agent.
> 1752572488.279750: critical: error opening channel '/dev/tty00': Device not configured
> 1752572488.279898: critical: failed to create guest agent channel
> 1752572488.279972: critical: failed to initialize guest agent channel
> 1752572488.280036: critical: error initializing guest agent
>
> the package does not install an example config, nor could I find one
> in the distribution tarball, and I don't know what I should use as a
> config.
There is no config file as far as I understand it - it is the command line parameters:
...
command_args="-d -m isa-serial -p /dev/tty00 -r -t /var/run -f /var/run/${name}.pid"
...
from /etc/rc.d/qemu-quest-agent, so I have:
...
# ps axll | grep qemu-ga
0 556 1 0 85 0 26752 2032 poll Isl ? 0:00.00 /usr/pkg/bin/qemu-ga -d -m isa-serial -p /dev/tty00 -r -t /var/run -f /var/run/qemu_guest_agent.pid
...
This VM runs under ProxMox and has a serial port added to the configuration - as a socket, which appears as the only option anyway, I have no idea how it is used. In the options setup the QEMU guest agent is enabled, usually as ISA - as it shows above - although it apparently runs the same if defined as VirtIO.
The graphics device is defined as SPICE and using it this way is quite reasonable, with perfectly working sound and (llvmpipe) 3D acceleration. The only trouble I am having is that I can't get more than 1280x768, for some reason (it is using VESA).
>
> Thanks,
> Thomas
FWIW, Chavdar
Home |
Main Index |
Thread Index |
Old Index