Re: [PATCH v8 14/17] vfio-user: handle PCI BAR accesses

2022-04-25 Thread Jag Raman
> On Apr 25, 2022, at 6:05 AM, Stefan Hajnoczi wrote: > > On Tue, Apr 19, 2022 at 04:44:19PM -0400, Jagannathan Raman wrote: >> +static size_t vfu_object_bar_rw(PCIDevice *pci_dev, int pci_bar, >> +hwaddr bar_offset, char * const buf, >> +

Re: [PATCH v8 14/17] vfio-user: handle PCI BAR accesses

2022-04-25 Thread Stefan Hajnoczi
On Tue, Apr 19, 2022 at 04:44:19PM -0400, Jagannathan Raman wrote: > +static size_t vfu_object_bar_rw(PCIDevice *pci_dev, int pci_bar, > +hwaddr bar_offset, char * const buf, > +hwaddr len, const bool is_write) > +{ > +MemoryRegion