diff options
author | Tomita Moeko <tomitamoeko@gmail.com> | 2025-05-06 01:02:59 +0800 |
---|---|---|
committer | Cédric Le Goater <clg@redhat.com> | 2025-05-09 12:42:27 +0200 |
commit | c0273e77f2d7aab3312eb557b49332da528ff66b (patch) | |
tree | 267af0dc89ba22ace691911a8873d31b64475bab /rust/qemu-api-macros | |
parent | 1d5f84f349d27f1d3ea6a0a6261253269fc1cf68 (diff) | |
download | qemu-c0273e77f2d7aab3312eb557b49332da528ff66b.zip qemu-c0273e77f2d7aab3312eb557b49332da528ff66b.tar.gz qemu-c0273e77f2d7aab3312eb557b49332da528ff66b.tar.bz2 |
vfio/igd: Detect IGD device by OpRegion
There is currently no straightforward way to distinguish if a Intel
graphics device is IGD or discrete GPU. However, only IGD devices have
OpRegion. Use the presence of VFIO_REGION_SUBTYPE_INTEL_IGD_OPREGION
to identify IGD devices. Still, OpRegion on hotplugged IGD device is
not supported.
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-4-tomitamoeko@gmail.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'rust/qemu-api-macros')
0 files changed, 0 insertions, 0 deletions