summary refs log tree commit diff stats
path: root/hw/vfio/helpers.c
diff options
context:
space:
mode:
authorTomita Moeko <tomitamoeko@gmail.com>2025-01-04 23:42:18 +0800
committerCédric Le Goater <clg@redhat.com>2025-02-11 14:15:19 +0100
commite45891e0b17884b7170c441eab3a5cdd856946f7 (patch)
tree0e59d9b490a3832f2398bb977f4c7d04759b82fb /hw/vfio/helpers.c
parentf36e7ba9750cbeffdc465c2d195a232d7cb67555 (diff)
downloadfocaccia-qemu-e45891e0b17884b7170c441eab3a5cdd856946f7.tar.gz
focaccia-qemu-e45891e0b17884b7170c441eab3a5cdd856946f7.zip
vfio/igd: use VFIOConfigMirrorQuirk for mirrored registers
With the introduction of config_offset field, VFIOConfigMirrorQuirk can
now be used for those mirrored register in igd bar0. This eliminates
the need for the macro intoduced in 1a2623b5c9e7 ("vfio/igd: add macro
for declaring mirrored registers").

Signed-off-by: Tomita Moeko <tomitamoeko@gmail.com>
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>
Link: https://lore.kernel.org/r/20250104154219.7209-4-tomitamoeko@gmail.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'hw/vfio/helpers.c')
0 files changed, 0 insertions, 0 deletions