]> git.ipfire.org Git - thirdparty/qemu.git/commit
vfio/igd: Handle x-igd-opregion option in config quirk
authorTomita Moeko <tomitamoeko@gmail.com>
Thu, 6 Mar 2025 18:01:28 +0000 (02:01 +0800)
committerCédric Le Goater <clg@redhat.com>
Tue, 11 Mar 2025 16:01:14 +0000 (17:01 +0100)
commit434ac62ef2443f25956dafcfcbf29663fd0cd3e1
tree09dcd64801e8ab6297373e142628b9ead096db63
parent2fedccf03c889562855bfbe0628ac577938c50a2
vfio/igd: Handle x-igd-opregion option in config quirk

Both enable OpRegion option (x-igd-opregion) and legacy mode require
setting up OpRegion copy for IGD devices. As the config quirk no longer
depends on legacy mode, we can now handle x-igd-opregion option there
instead of in vfio_realize.

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