]> git.ipfire.org Git - thirdparty/qemu.git/commit
vfio/pci: Add placeholder for device-specific config space quirks
authorTomita Moeko <tomitamoeko@gmail.com>
Thu, 6 Mar 2025 18:01:25 +0000 (02:01 +0800)
committerCédric Le Goater <clg@redhat.com>
Tue, 11 Mar 2025 16:01:14 +0000 (17:01 +0100)
commitb22ab580d284558e298228e40f11be057cd3576c
treed697ff02dcbe76c096c5384a49dd097a933526cf
parenteabaa7b468eac63cb9acf47717f030c679532e6c
vfio/pci: Add placeholder for device-specific config space quirks

IGD devices require device-specific quirk to be applied to their PCI
config space. Currently, it is put in the BAR4 quirk that does nothing
to BAR4 itself. Add a placeholder for PCI config space quirks to hold
that quirk later.

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-6-tomitamoeko@gmail.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/vfio/pci-quirks.c
hw/vfio/pci.c
hw/vfio/pci.h