Hi,

I don't believe qemu-ga can use VirtIO serial ports.

I use qemu-ga for OpenBSD VM's on Proxmox.
The serial type needs to be set to ISA or this to work.
I found this out via the pkg-readme for qemu-ga (thank you Brad Smith).

Cheers

Joe

On 31/12/2025 3:33 pm, Paul B. Henson wrote:

I'm running an openbsd vm under libvirt and trying to understand the
current state of virtio-serial support, which is required for
integrating the qemu-agent with libvirt.

One of the devices seen during boot is:

virtio2 at pci4 dev 0 function 0 "Qumranet Virtio 1.x Console" rev 0x01
virtio2: no matching child driver; not configured

which I think is the virtio-serial port, which is also known as
"virtio-console" from what I can tell.

There's a man page for viocon which is described as the "VirtIO console
device" that "provides serial ports that are attached as ttys".

This sounds like it would be used for the virtio-serial port qemu
creates for the qemu-agent connection, but it doesn't seem to associate
with the virtio device.

Is viocon a driver for something else? Am I missing something obvious?
Ah, it seems I am:

sys/arch/amd64/conf/GENERIC:#viocon*    at virtio?      # Virtio console device

It appears the driver isn't enabled in the default kernel config. While
the devices used by it are created by default?

crw-rw----  1 root  dialer  94,  0 Dec 28 22:02 /dev/ttyVI00
crw-rw----  1 root  dialer  94, 10 Dec 28 22:02 /dev/ttyVI10
crw-rw----  1 root  dialer  94, 20 Dec 28 22:02 /dev/ttyVI20
crw-rw----  1 root  dialer  94, 30 Dec 28 22:02 /dev/ttyVI30
crw-rw----  1 root  dialer  94, 40 Dec 28 22:02 /dev/ttyVI40

Is the driver not production ready? Or just not used enough to make it
worth enabling by default?

Thanks much...


Reply via email to