My fighting with the OpenWRT VM showed:
- Modules:
9p,9pnet,9pnet_virtioandnetfsare needed only once onincus-agentinstallation. (9pnetdepends onnetfs) - Modules:
vsock,vmw_vsock_virtio_transport_commonandvmw_vsock_virtio_transportare required for theincus-agentand providesvsocktransport betweenhostandguest - The
/dev/virtio-ports/org.linuxcontainers.incusvirtual device is required to kickoff communication betweenincusdon the host andincus-agentin the VM. You can create a link to/dev/vport5pXdevice whereXis determined by context of/sys/class/virtio-ports/vport5pX/name. (See Stéphane’s comment at Incus-agent in OpenWRT VM - #8 by tregubovav) .