My fighting with the OpenWRT
VM showed:
- Modules:
9p
,9pnet
,9pnet_virtio
andnetfs
are needed only once onincus-agent
installation. (9pnet
depends onnetfs
) - Modules:
vsock
,vmw_vsock_virtio_transport_common
andvmw_vsock_virtio_transport
are required for theincus-agent
and providesvsock
transport betweenhost
andguest
- The
/dev/virtio-ports/org.linuxcontainers.incus
virtual device is required to kickoff communication betweenincusd
on the host andincus-agent
in the VM. You can create a link to/dev/vport5pX
device whereX
is determined by context of/sys/class/virtio-ports/vport5pX/name
. (See Stéphane’s comment at Incus-agent in OpenWRT VM - #8 by tregubovav) .