]> git.ipfire.org Git - thirdparty/qemu.git/commit
vfio: refactor out vfio_pci_config_setup()
authorJohn Levon <john.levon@nutanix.com>
Wed, 9 Apr 2025 13:48:02 +0000 (15:48 +0200)
committerCédric Le Goater <clg@redhat.com>
Fri, 25 Apr 2025 07:01:38 +0000 (09:01 +0200)
commita9d270f6b85bab40d388fe5244f02d145759cc08
tree42dc4f324e2e8ad6adc571aa5fb497ace6febbed
parent54594b520862682d846cb6fa91705a927290eec5
vfio: refactor out vfio_pci_config_setup()

Refactor the PCI config setup code out of vfio_realize() for
readability.

Reviewed-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: John Levon <john.levon@nutanix.com>
Link: https://lore.kernel.org/qemu-devel/20250409134814.478903-3-john.levon@nutanix.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/vfio/pci.c