> On Apr 25, 2022, at 1:34 PM, Jag Raman wrote:
>
>
>
>> On Apr 25, 2022, at 5:56 AM, Stefan Hajnoczi wrote:
>>
>> On Tue, Apr 19, 2022 at 04:44:18PM -0400, Jagannathan Raman wrote:
>>> +static void dma_unregister(vfu_ctx_t *vfu_ctx, vfu_dma_info_t *info)
>>> +{
>>> + VfuObject *o = vfu_get
> On Apr 25, 2022, at 5:56 AM, Stefan Hajnoczi wrote:
>
> On Tue, Apr 19, 2022 at 04:44:18PM -0400, Jagannathan Raman wrote:
>> +static void dma_unregister(vfu_ctx_t *vfu_ctx, vfu_dma_info_t *info)
>> +{
>> +VfuObject *o = vfu_get_private(vfu_ctx);
>> +AddressSpace *dma_as = NULL;
>> +
On Tue, Apr 19, 2022 at 04:44:18PM -0400, Jagannathan Raman wrote:
> +static void dma_unregister(vfu_ctx_t *vfu_ctx, vfu_dma_info_t *info)
> +{
> +VfuObject *o = vfu_get_private(vfu_ctx);
> +AddressSpace *dma_as = NULL;
> +MemoryRegion *mr = NULL;
> +ram_addr_t offset;
> +
> +mr
Define and register callbacks to manage the RAM regions used for
device DMA
Signed-off-by: Elena Ufimtseva
Signed-off-by: John G Johnson
Signed-off-by: Jagannathan Raman
Reviewed-by: Stefan Hajnoczi
---
hw/remote/machine.c | 5
hw/remote/vfio-user-obj.c | 55 ++