Which 9p/other kernel modules are required for incus-agent?

My fighting with the OpenWRT VM showed:

  1. Modules: 9p, 9pnet, 9pnet_virtio and netfs are needed only once on incus-agent installation. (9pnet depends on netfs)
  2. Modules: vsock, vmw_vsock_virtio_transport_common and vmw_vsock_virtio_transport are required for the incus-agent and provides vsock transport between host and guest
  3. The /dev/virtio-ports/org.linuxcontainers.incus virtual device is required to kickoff communication between incusd on the host and incus-agent in the VM. You can create a link to /dev/vport5pX device where X 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) .
1 Like