Files
qemu-reims-vgpu/backends
Anees Iqbal 458f4b7b31 🐛 Refuse a Linux host below 7.2 at reims-graphics-pci's realize
The device now needs Linux 7.2 or later on a Linux host: its realize fails
below it, naming the running release and "Linux 7.2 or later". Before 7.2 a
udmabuf over large pages is malformed (an entry per base page naming a large
folio's head page and an offset past the page), and amdgpu's import binds the
wrong pages (reims-vgpu issue 185); 7.2 builds the table from the pages
themselves (upstream 5bf888673e0d).

The floor takes the place of the below-7.2 form: ram_block_add advises every
block MADV_HUGEPAGE again, the device maps its region and pool pieces with no
advice of its own, and the backend collapses preallocated shared RAM with no
4 KiB line. qemu_guest_ram_huge_pages and qemu_linux_release_at_least become
qemu_linux_release_meets_floor, the floor's one check, whose test holds its
table: 7.1 refused, 7.2 passes, a release that does not parse refused.

What hosts see: below 7.2 the device's realize fails, where 51382c20 and
1a35b9fb kept guest RAM and the device's library RAM on 4 KiB pages; on 7.2
and later nothing changes.
2026-11-25 20:09:18 -08:00
..
2026-10-31 01:13:57 +04:00