aboutsummaryrefslogtreecommitdiff
path: root/hw/avr/arduino.c
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 /hw/avr/arduino.c
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 'hw/avr/arduino.c')
0 files changed, 0 insertions, 0 deletions