> 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,
>> +
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)
> +{
> +
Determine the BARs used by the PCI device and register handlers to
manage the access to the same.
Signed-off-by: Elena Ufimtseva
Signed-off-by: John G Johnson
Signed-off-by: Jagannathan Raman
---
include/exec/memory.h | 3 +
hw/remote/vfio-user-obj.c | 189