drivers/gpu/drm/qxl

QXL paravirtual GPU for SPICE-based virtual machines

A virtual graphics card presented to QEMU/KVM guests, designed to pair with the SPICE remote-desktop protocol for efficient 2D acceleration and low-latency display streaming. It was the default choice for SPICE-based VM consoles for many years before virtio-gpu became the preferred modern option.

keep-annotate conf=0.84 deploy=low replacement=virtio_gpu subsystem=gpu category=graphics-display
84%

recommendation

Worth keeping but documenting its niche: QXL is a legacy paravirtual graphics device tied to the SPICE remote-desktop protocol, and QEMU now recommends virtio-gpu for new guests. However, the code is not abandoned — patches are still landing upstream in 2025, including real bug fixes — so it should remain available for the many existing VMs that still rely on it.

repository signals

20 files
6,573 source lines
78 commits, 5y
+431 / −422 lines added / removed, 5y
32 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 78 total · active in 37/61 months
2021 2022 2023 2024 2025 2026 2021-04: 2 commits · +11 −10 2021-05: 4 commits · +3 −5 2021-06: 3 commits · +3 −10 2021-07: 3 commits · +6 −8 2021-08: 0 commits · +0 −0 2021-09: 2 commits · +12 −9 2021-10: 0 commits · +0 −0 2021-11: 5 commits · +7 −6 2021-12: 2 commits · +29 −56 2022-01: 0 commits · +0 −0 2022-02: 2 commits · +21 −21 2022-03: 1 commit · +4 −4 2022-04: 4 commits · +14 −37 2022-05: 3 commits · +57 −42 2022-06: 2 commits · +3 −0 2022-07: 1 commit · +2 −2 2022-08: 0 commits · +0 −0 2022-09: 2 commits · +3 −14 2022-10: 2 commits · +11 −12 2022-11: 2 commits · +1 −1 2022-12: 0 commits · +0 −0 2023-01: 0 commits · +0 −0 2023-02: 1 commit · +11 −0 2023-03: 0 commits · +0 −0 2023-04: 0 commits · +0 −0 2023-05: 0 commits · +0 −0 2023-06: 1 commit · +0 −2 2023-07: 0 commits · +0 −0 2023-08: 3 commits · +30 −22 2023-09: 1 commit · +7 −0 2023-10: 2 commits · +7 −9 2023-11: 2 commits · +0 −11 2023-12: 0 commits · +0 −0 2024-01: 0 commits · +0 −0 2024-02: 4 commits · +30 −32 2024-03: 2 commits · +1 −5 2024-04: 2 commits · +47 −7 2024-05: 1 commit · +5 −45 2024-06: 1 commit · +3 −0 2024-07: 1 commit · +20 −11 2024-08: 0 commits · +0 −0 2024-09: 2 commits · +6 −3 2024-10: 1 commit · +1 −1 2024-11: 1 commit · +1 −1 2024-12: 2 commits · +1 −3 2025-01: 0 commits · +0 −0 2025-02: 0 commits · +0 −0 2025-03: 0 commits · +0 −0 2025-04: 1 commit · +1 −1 2025-05: 0 commits · +0 −0 2025-06: 1 commit · +1 −1 2025-07: 2 commits · +2 −1 2025-08: 0 commits · +0 −0 2025-09: 0 commits · +0 −0 2025-10: 3 commits · +44 −1 2025-11: 0 commits · +0 −0 2025-12: 0 commits · +0 −0 2026-01: 0 commits · +0 −0 2026-02: 4 commits · +26 −29 2026-03: 0 commits · +0 −0 2026-04: 0 commits · +0 −0

sources

  1. lore.kernel.org

    Upstream activity is still current: a 2026 patch fixes qxl KMS poll cleanup, indicating the driver is maintained rather than abandoned.

  2. qemu.org

    QEMU documents `qxl` as a paravirtual graphics card that works best with guest drivers and is the recommended choice when using the SPICE protocol.

  3. qemu.org

    QEMU states VirtIO devices are the recommended device models for virtual machines unless a specific hardware model must be exercised.

  4. qemu.org

    QEMU documents virtio-gpu as the modern paravirtual GPU/display controller for guests, covering the same virtual-GPU use case with broader current capability.

codex reasoning notes (technical)

Lore evidence came from `lore_file_timeline` and `lore_activity` on `drivers/gpu/drm/qxl/qxl_drv.c`; both showed recent 2025-2026 patch traffic, including a real bug fix, so this is not dormant. QEMU docs were obtained via `web.search_query`; they show QXL is a SPICE-era virtual GPU niche, while VirtIO is the generally recommended VM device family and virtio-gpu is the natural replacement for new guest deployments. Because QXL is virtual rather than sold hardware, `hardware_still_sold_new_in_2025=false` and `last_widely_available_year=null`. Recommendation is `keep-annotate`: legacy/niche, replacement exists, but upstream attention is still active.