Just to confirm, I tweaked /etc/rc.d/qemu-quest-agent to have only 

command_args="-c /usr/pkg/etc/qemu/qemu-ga.conf"

and set the above file as:

[general]
daemon=true
method=isa-serial
path=/dev/tty00
pidfile=/var/run/qemu-ga.pid
logfile=/var/log/qemu-ga/qemu-ga.log
statedir=/var/run
verbose=true
blacklist=
allow-rpcs=guest-get-load,guest-ssh-remove-authorized-keys,guest-ssh-add-authorized-keys,guest-ssh-get-authorized-keys,guest-get-osinfo,guest-get-timezone,guest-get-users,guest-get-host-name,guest-exec,guest-exec-status,guest-network-get-interfaces,guest-file-flush,guest-file-seek,guest-file-write,guest-file-read,guest-file-close,guest-file-open,guest-shutdown,guest-info,guest-set-time,guest-get-time,guest-ping,guest-sync,guest-sync-delimited

Now ProxMox does not complain that the guest agent is not running and the IP 
address of the client is correctly displayed. 

(I just enabled all the rpcs, maybe that is by default, never checked). 





Sent with Proton Mail secure email.

On Tuesday, 15 July 2025 at 13:16, ci4ic4 <ci4...@proton.me> wrote:

> 
> 
> 
> 
> 
> Sent with Proton Mail secure email.
> 
> 
> On Tuesday, 15 July 2025 at 12:51, ci4ic4 ci4...@proton.me wrote:
> 
> > Sent with Proton Mail secure email.
> > 
> > On Tuesday, 15 July 2025 at 10:47, Thomas Klausner w...@netbsd.org 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
> 
> 
> (for some reason, sent twice by the web client, no idea why).
> 
> I mean, there is no configuration file in the package, of course.

Reply via email to