aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTomita Moeko <tomitamoeko@gmail.com>2025-07-24 00:09:05 +0800
committerCédric Le Goater <clg@redhat.com>2025-07-28 17:52:34 +0200
commite0b33efe2acc3c6c651bb761394ef597e763e349 (patch)
tree0ef26c26d27baabb2ace6de1fdfb82b744be636a /docs
parent9751377c3a9445f597c5d0bf134a79c8cb58e45d (diff)
downloadqemu-e0b33efe2acc3c6c651bb761394ef597e763e349.zip
qemu-e0b33efe2acc3c6c651bb761394ef597e763e349.tar.gz
qemu-e0b33efe2acc3c6c651bb761394ef597e763e349.tar.bz2
vfio/igd: Require host VGA decode for legacy mode
Commit a59d06305fff ("vfio/pci: Introduce x-pci-class-code option") allows user to expose non-VGA IGD device as VGA controller to the guest. However, legacy mode requires host VGA range access. Check that GGC.IVD == 0 before enabling legacy mode to ensure IGD is a real VGA device claiming host VGA ranges. Signed-off-by: Tomita Moeko <tomitamoeko@gmail.com> Reviewed-by: Alex Williamson <alex.williamson@redhat.com> Link: https://lore.kernel.org/qemu-devel/20250723160906.44941-2-tomitamoeko@gmail.com Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/igd-assign.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/igd-assign.txt b/docs/igd-assign.txt
index af4e839..e540403 100644
--- a/docs/igd-assign.txt
+++ b/docs/igd-assign.txt
@@ -48,6 +48,7 @@ Intel document [1] shows how to dump VBIOS to file. For UEFI Option ROM, see
QEMU also provides a "Legacy" mode that implicitly enables full functionality
on IGD, it is automatically enabled when
* IGD generation is 6 to 9 (Sandy Bridge to Comet Lake)
+* IGD claims VGA cycles on host (IGD is VGA controller on host)
* Machine type is i440fx
* IGD is assigned to guest BDF 00:02.0
* ROM BAR or romfile is present