]> git.ipfire.org Git - thirdparty/qemu.git/commit
vfio/pci: declare generic quirks in a new header file
authorTomita Moeko <tomitamoeko@gmail.com>
Sat, 4 Jan 2025 15:42:16 +0000 (23:42 +0800)
committerCédric Le Goater <clg@redhat.com>
Tue, 11 Feb 2025 13:15:19 +0000 (14:15 +0100)
commitdee69a8ca6ebc325939dc0b6800becdb26cd9dbf
tree051259e01904a568448fa1d0e360be786b859d09
parent6e7998ceb9008e82501c7cf069e5552c7e352c6c
vfio/pci: declare generic quirks in a new header file

Declare generic vfio_generic_{window_address,window_data,mirror}_quirk
in newly created pci_quirks.h so that they can be used elsewhere, like
igd.c.

Signed-off-by: Tomita Moeko <tomitamoeko@gmail.com>
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>
Link: https://lore.kernel.org/r/20250104154219.7209-2-tomitamoeko@gmail.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/vfio/pci-quirks.c
hw/vfio/pci-quirks.h [new file with mode: 0644]