Re: [PATCH RFC server v2 06/11] vfio-user: handle PCI config space accesses

2021-09-13 Thread Stefan Hajnoczi
On Fri, Sep 10, 2021 at 04:22:56PM +, Jag Raman wrote: > > > > On Sep 9, 2021, at 3:27 AM, Stefan Hajnoczi wrote: > > > > On Fri, Aug 27, 2021 at 01:53:25PM -0400, Jagannathan Raman wrote: > >> +static ssize_t vfu_object_cfg_access(vfu_ctx_t *vfu_ctx, char * const buf, > >> +

Re: [PATCH RFC server v2 06/11] vfio-user: handle PCI config space accesses

2021-09-10 Thread Jag Raman
> On Sep 9, 2021, at 3:27 AM, Stefan Hajnoczi wrote: > > On Fri, Aug 27, 2021 at 01:53:25PM -0400, Jagannathan Raman wrote: >> +static ssize_t vfu_object_cfg_access(vfu_ctx_t *vfu_ctx, char * const buf, >> + size_t count, loff_t offset, >> +

Re: [PATCH RFC server v2 06/11] vfio-user: handle PCI config space accesses

2021-09-09 Thread Stefan Hajnoczi
On Fri, Aug 27, 2021 at 01:53:25PM -0400, Jagannathan Raman wrote: > +static ssize_t vfu_object_cfg_access(vfu_ctx_t *vfu_ctx, char * const buf, > + size_t count, loff_t offset, > + const bool is_write) > +{ > +VfuObject *o

[PATCH RFC server v2 06/11] vfio-user: handle PCI config space accesses

2021-08-27 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 | 44 hw/remote/trace-events| 2 ++ 2 files changed, 46 inser