Re: [PATCH RFC v2 10/16] vfio-user: pci_user_realize PCI setup

2021-09-07 Thread Stefan Hajnoczi
On Mon, Aug 16, 2021 at 09:42:43AM -0700, Elena Ufimtseva wrote: > @@ -3423,6 +3478,91 @@ static void vfio_user_pci_realize(PCIDevice *pdev, > Error **errp) > goto error; > } > > +/* Get a copy of config space */ > +ret = vfio_user_region_read(vbasedev, VFIO_PCI_CONFIG_REGI

[PATCH RFC v2 10/16] vfio-user: pci_user_realize PCI setup

2021-08-16 Thread Elena Ufimtseva
From: John Johnson PCI BARs read from remote device PCI config reads/writes sent to remote server Signed-off-by: Elena Ufimtseva Signed-off-by: John G Johnson Signed-off-by: Jagannathan Raman --- hw/vfio/pci.c | 210 +- 1 file changed, 175 inse