]> git.ipfire.org Git - thirdparty/qemu.git/commit
vfio: move config space read into vfio_pci_config_setup()
authorJohn Levon <john.levon@nutanix.com>
Tue, 20 May 2025 15:03:52 +0000 (16:03 +0100)
committerCédric Le Goater <clg@redhat.com>
Thu, 5 Jun 2025 08:40:38 +0000 (10:40 +0200)
commit15399459467ff62fff7e28a554f44364fbf4204d
treea68854744239cba0cc72065b3bc5df295e75aff8
parent33528f255a710d394ec692de54baebff1f494b5b
vfio: move config space read into vfio_pci_config_setup()

Small cleanup that reduces duplicate code for vfio-user and reduces the
size of vfio_realize(); while we're here, correct that name to
vfio_pci_realize().

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