News: 0001524625

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

VirtIO Media Driver Upstreaming Pursued For Relaying V4L2 Media Devices To Guests

([Multimedia] 3 Hours Ago VirtIO Media Driver)


Android and Chrome OS already are carrying the VirtIO Media driver as a means of enabling virtualization of host media devices into a guest while now patch review is underway in trying to get VirtIO Media upstreamed in the mainline Linux kernel.

The VirtIO Media driver is intended to be a Video 4 Linux 2 (V4L2) relay between user-space and the VirtIO virtual device on the host. In theory VirtIO Media can virtualize any video device -- like web cameras -- supported by V4L2. The VirtIO Media [1]specification is in the process of being finalized. The driver is already found within Android (AOSP) and Chrome OS while now Google's Alexandre Courbot is working on the "overdue" upstreaming of this driver.

Virtualization of web cameras and video accelerators has been demonstrated with Google's CrosVM and QEMU. Those interested in this VirtIO Media driver upstreaming effort for the mainline kernel can see [2]this patch series for the latest on this newly-started review effort.



[1] https://lore.kernel.org/virtio-comment/20250120085015.956057-1-aesteve@redhat.com/T/

[2] https://lore.kernel.org/lkml/20250201-virtio-media-v2-1-ac840681452d@gmail.com/



Danny3

Linus Torvalds wrote:
> Or are they just trying to strongarm the move to the horrid ACPI tables?

They are certainly involved in the latter but whether this is related or
a seperate evil empire scheme is open to question

- Alan Cox on linux-kernel