KVM Forum 2024

The many faces of virtio-gpu
2024-09-23 , Hall A+B

Among all the other virtio devices, virtio-gpu stands out due to its versatility. On the surface, it's a device that provides a paravirtualized GPU and display controller. But thanks to the powerful combination of its three main primitives (a virtqueue transport, shared memory and fences) it's today able to support multiple, specialized personalities to cover different use cases, enabling graphics acceleration at different levels (from native DRM to GL abstraction) and offloading compute tasks from the guest to the host's GPU.

In this talk I'll detail current and future virtio-gpu capabilities, their implementation and intended use cases, and how you can take advantage of them from different software stacks. If time permits, I'll also demonstrate one of its lesser known capabilities.

See also: slides (1.1 MB)

Sergio is a Senior Principal Software Engineer at Red Hat. After a tenure in the Virtualization Team, he joined the Automotive Team to help building a car-friendly Virtualization stack for CentOS AutoSD. He's also the maintainer of the microvm machine type in QEMU, main author and maintainer of libkrun (an opinionated VMM written in Rust and based on rust-vmm components) and co-maintainer of various crates from the rust-vmm project.

This speaker also appears in: