<div class='slidealt'>Experience kvm <a title='virtualization for embedded heterogeneous arm core platforms' href='/en/products'>virtualization extensions</a></div> <div class='slidealt'>Benefit from custom <a title='kvm on arm services full virtualization' href='/en/services'>virtualization services</a></div> <div class='slidealt'>KVM on ARMv7 and ARMv8 <a title='kvm-on-arm open source smu extensions' href='/en/solutions/guides/vfio-on-arm/'>IOMMU full virtualization</a></div> <div class='slidealt'>Virtualization research projects <a title='ARM multicore kvm open source' href='/en/research'>in cloud and embedded systems</a></div> <div class='slidealt'>Virtualization solutions for heterogeneous <a title='ARMv7-ARMv8 virtualization open source solutions' href='/en/solutions'>ARM multicore systems</a></div>

Automotive sound partitioning and prioritization with virtio-loopback

The virtio-loopback technology, developed in the context of AGL, enables audio applications partitioning

Virtual Open Systems at the Open Source Summit 23 Tokyo

virtio-loopback is an open source technology designed and developed by Virtual Open Systems in the context of the Automotive Grade Linux (AGL) project from Linux Foundation.

In particular, virtio-loopback is able to create a hardware abstraction layer (HAL) based on the virtio technology, enabling applications developed to interact with virtio drivers to be seamlessy connected with vhost-user devices.

The Tokyo Open Source Summit 2023 is the occasion to showcase the latest development in this area, that include:

  • Development of new rust devices, such as vhost-user-can and vhost-user-console
  • Virtio-loopback adapter/driver support for new devices, e.g., sound, CAN, GPIO and RNG devices
  • Updates at the loopback infrastructure layer, resulting in no more changes needed at vhost-device level to support virtio-loopback

Moreover, the demonstration, which is detailed in this figare, has been built specifically for the event.

AGL vhost-user sound partitioning via virtio-loopback

In this video, two instances of vhost-user-sound are excecuted to showcase an example of automotive audio partitioning. Two audio files are played on an AGL Reference Hardware board (based on the Renesas R-Car H3 SoC) running Automotive Grade Linux Prickly Pike (v16). The interesting part is that these two files are played on top of two virtual audio cards, and that audio prioritization can be easily appliead without touching the system kernel but simply using existing user space tools (e.g., wirepluber, taskset, etc).

Finally, virtio-loopback is under development and latest sources can be found in the AGL sources meta-agl-devel layer. Additional contents and documentation can be found in the Virtual Open Systems virtio-loopback repository.

Virtio-Loopback For A Hal To Connect Virtio-Drivers Apps To Vhost-User Devices virtio-loopback to create a hardware abstraction layer enabling applications, interacting with virtio drivers, to be seamlessy connected with vhost-user devices