]> git.ipfire.org Git - thirdparty/qemu.git/commit
vfio/igd: Move LPC bridge initialization to a separate function
authorTomita Moeko <tomitamoeko@gmail.com>
Thu, 6 Mar 2025 18:01:24 +0000 (02:01 +0800)
committerCédric Le Goater <clg@redhat.com>
Tue, 11 Mar 2025 16:01:14 +0000 (17:01 +0100)
commiteabaa7b468eac63cb9acf47717f030c679532e6c
treeeb2abc058bbfdd0c6740bf7ba95567ae58d20ed9
parentae9d9ec4a643aae8704b4252b402488bde7b4be4
vfio/igd: Move LPC bridge initialization to a separate function

A new option will soon be introduced to decouple the LPC bridge/Host
bridge ID quirk from legacy mode. To prepare for this, move the LPC
bridge initialization into a separate function.

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