]> git.ipfire.org Git - thirdparty/qemu.git/commit
vfio/igd: Allow overriding GMS with 0xf0 to 0xfe on Gen9+
authorTomita Moeko <tomitamoeko@gmail.com>
Mon, 5 May 2025 17:03:03 +0000 (01:03 +0800)
committerCédric Le Goater <clg@redhat.com>
Fri, 9 May 2025 10:42:27 +0000 (12:42 +0200)
commit395a1f7941f4e46044c865ea0c39d1eef0eaddc6
tree212c3a1ef7caa45c29b500ce141dc163774c0ca3
parent16cbb43302a228f804c067992f6f61787934f3e9
vfio/igd: Allow overriding GMS with 0xf0 to 0xfe on Gen9+

On Gen9 and later IGD devices, GMS 0xf0 to 0xfe represents 4MB to 60MB
pre-allocated memory size in 4MB increments. Allow users overriding
GMS with these values.

Signed-off-by: Tomita Moeko <tomitamoeko@gmail.com>
Reviewed-by: Corvin Köhne <c.koehne@beckhoff.com>
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>
Tested-by: Alex Williamson <alex.williamson@redhat.com>
Link: https://lore.kernel.org/qemu-devel/20250505170305.23622-8-tomitamoeko@gmail.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/vfio/igd.c