Page MenuHomeFreeBSD

virtio_gpu: Avoid panic if a 0x0 mode is provided
Needs ReviewPublic

Authored by val_packett.cool on Jun 25 2024, 5:09 AM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 26 2024, 8:40 PM
Unknown Object (File)
Nov 26 2024, 3:12 PM
Unknown Object (File)
Oct 30 2024, 4:35 AM
Unknown Object (File)
Aug 7 2024, 2:07 PM
Unknown Object (File)
Jul 20 2024, 11:43 PM
Unknown Object (File)
Jun 29 2024, 1:06 AM
Unknown Object (File)
Jun 28 2024, 11:29 PM
Unknown Object (File)
Jun 27 2024, 6:55 PM
Subscribers

Details

Reviewers
andrew
Group Reviewers
Contributor Reviews (src)
Summary

On an amd64 QEMU host, using "-device virtio-gpu-gl" results in a 0x0
mode being provided, which would panic the kernel due to a zero-sized
allocation attempt. Suggest using virtio-vga(-gl) which does not have
that issue.

Sponsored by: Ihor Antonov <ihor@antonovs.family>

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 58342
Build 55230: arc lint + arc unit