Refactor the PCI config setup code out of vfio_realize() for
readability.
Reviewed-by: Cédric Le Goater
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/p
Hi, John
On 4/9/25 21:48, John Levon wrote:
> Refactor the PCI config setup code out of vfio_realize() for
> readability.
>
> Reviewed-by: Cédric Le Goater
> Signed-off-by: John Levon
> ---
> hw/vfio/pci.c | 176 +++---
> 1 file changed, 94 insertion
On Wed, Apr 09, 2025 at 11:38:01PM +0800, Tomita Moeko wrote:
> On 4/9/25 21:48, John Levon wrote:
> > Refactor the PCI config setup code out of vfio_realize() for
> > readability.
> > +if (!vfio_msix_early_setup(vdev, errp)) {
> > +return false;
> > +}
> > +
> > +vfio_bars_re