aboutsummaryrefslogtreecommitdiff
path: root/scripts/rust
diff options
context:
space:
mode:
authorTomita Moeko <tomitamoeko@gmail.com>2025-03-07 02:01:30 +0800
committerCédric Le Goater <clg@redhat.com>2025-03-11 17:01:14 +0100
commite46b7af508c27a4e830818ac05fa3e2e4c33b416 (patch)
tree59d3621937d0565de335924270a62eb4c57c7f2c /scripts/rust
parent674f61117d3652c969bd9d04201615bb69614fa2 (diff)
downloadqemu-e46b7af508c27a4e830818ac05fa3e2e4c33b416.zip
qemu-e46b7af508c27a4e830818ac05fa3e2e4c33b416.tar.gz
qemu-e46b7af508c27a4e830818ac05fa3e2e4c33b416.tar.bz2
vfio/igd: Fix broken KVMGT OpRegion support
The KVMGT/GVT-g vGPU also exposes OpRegion. But unlike IGD passthrough, it only needs the OpRegion quirk. A previous change moved x-igd-opregion handling to config quirk breaks KVMGT functionality as it brings extra checks and applied other quirks. Here we check if the device is mdev (KVMGT) or not (passthrough), and then applies corresponding quirks. As before, users must manually specify x-igd-opregion=on to enable it on KVMGT devices. In the future, we may check the VID/DID and enable OpRegion automatically. 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-11-tomitamoeko@gmail.com Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'scripts/rust')
0 files changed, 0 insertions, 0 deletions