That's Done!

thatsdone's (mostly technical) memorandum

[en] Linux virtio_can driver


I'm working on AGL (Automotive Grade Linux), and now there is a collaboratieve efffort to establish a reference platform for SDV on top of AGL, so called SoDeV.

You can find information regarding AGL SoDeV below.

SoDeV uses Xen Hypervisor and virtio mechanism for inter domain communication.

So far, I was using guest operating system side virtio frontend driver by OpenSynergy team for AGL (based on Yocto 5.x/Scarthgap until 21.0(Unagi release)). Linux kernel version is 6.6.x for Scarthgap. Recently, I noticed that virtio_can driver build fails for Yocto 6.x which is(/would be) based on linux 6.12.x.

After looking into the error logs that I got, I figured out that this comes from a small interface change of a virtio subsystem utility method, virtio_find_vqs().

You can find the patch below, and I hope this makes sense for the community. :)