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:17 +0800
committerCédric Le Goater <clg@redhat.com>2025-02-11 14:15:19 +0100
commitf36e7ba9750cbeffdc465c2d195a232d7cb67555 (patch)
tree8ec6d8540522d615eaee6174b003cdabd56a5f2e /hw/vfio/helpers.c
parentdee69a8ca6ebc325939dc0b6800becdb26cd9dbf (diff)
downloadfocaccia-qemu-f36e7ba9750cbeffdc465c2d195a232d7cb67555.tar.gz
focaccia-qemu-f36e7ba9750cbeffdc465c2d195a232d7cb67555.zip
vfio/pci: introduce config_offset field in VFIOConfigMirrorQuirk
Device may only expose a specific portion of PCI config space through a
region in a BAR, such behavior is seen in igd GGC and BDSM mirrors in
BAR0. To handle these, config_offset is introduced to allow mirroring
arbitrary region in PCI config space.

Signed-off-by: Tomita Moeko <tomitamoeko@gmail.com>
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>
Link: https://lore.kernel.org/r/20250104154219.7209-3-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