Re: [PATCH v8 07/28] vfio: refactor out vfio_pci_config_setup()

2025-04-03 Thread Cédric Le Goater
On 2/19/25 15:48, John Levon wrote: Refactor the PCI config setup code out of vfio_realize(), as we will later need this for vfio-user too. Signed-off-by: John Levon We should have more of these routines to reduce vfio_realize(). It's way too big. This can be merged now. Reviewed-by: Cédric

[PATCH v8 07/28] vfio: refactor out vfio_pci_config_setup()

2025-02-19 Thread John Levon
Refactor the PCI config setup code out of vfio_realize(), as we will later need this for vfio-user too. Signed-off-by: John Levon --- hw/vfio/pci.c | 176 +++--- 1 file changed, 94 insertions(+), 82 deletions(-) diff --git a/hw/vfio/pci.c b/hw/vfio/pc