Re: [PATCH v4 08/14] vfio-user: handle PCI config space accesses

2021-12-16 Thread Stefan Hajnoczi
On Thu, Dec 16, 2021 at 11:47:40AM +, John Levon wrote: > On Thu, Dec 16, 2021 at 11:30:20AM +, Stefan Hajnoczi wrote: > > > > +ret = vfu_setup_region(o->vfu_ctx, VFU_PCI_DEV_CFG_REGION_IDX, > > > + pci_config_size(o->pci_dev), > > > &vfu_object_cfg_access, >

Re: [PATCH v4 08/14] vfio-user: handle PCI config space accesses

2021-12-16 Thread John Levon
On Thu, Dec 16, 2021 at 11:30:20AM +, Stefan Hajnoczi wrote: > > +ret = vfu_setup_region(o->vfu_ctx, VFU_PCI_DEV_CFG_REGION_IDX, > > + pci_config_size(o->pci_dev), > > &vfu_object_cfg_access, > > + VFU_REGION_FLAG_RW | VFU_REGION_FLAG_AL

Re: [PATCH v4 08/14] vfio-user: handle PCI config space accesses

2021-12-16 Thread Stefan Hajnoczi
On Wed, Dec 15, 2021 at 10:35:32AM -0500, Jagannathan Raman wrote: > Define and register handlers for PCI config space accesses > > Signed-off-by: Elena Ufimtseva > Signed-off-by: John G Johnson > Signed-off-by: Jagannathan Raman > --- > hw/remote/vfio-user-obj.c | 45 +

[PATCH v4 08/14] vfio-user: handle PCI config space accesses

2021-12-15 Thread Jagannathan Raman
Define and register handlers for PCI config space accesses Signed-off-by: Elena Ufimtseva Signed-off-by: John G Johnson Signed-off-by: Jagannathan Raman --- hw/remote/vfio-user-obj.c | 45 +++ hw/remote/trace-events| 2 ++ 2 files changed, 47 insertions