Re: [PATCH v4 02/10] Add vhost-user helper to get MemoryRegion data

2020-06-04 Thread Marc-André Lureau
Hi On Thu, May 21, 2020 at 7:00 AM Raphael Norwitz wrote: > When setting the memory tables, qemu uses a memory region's userspace > address to look up the region's MemoryRegion struct. Among other things, > the MemoryRegion contains the region's offset and associated file > descriptor, all of wh

[PATCH v4 02/10] Add vhost-user helper to get MemoryRegion data

2020-05-20 Thread Raphael Norwitz
When setting the memory tables, qemu uses a memory region's userspace address to look up the region's MemoryRegion struct. Among other things, the MemoryRegion contains the region's offset and associated file descriptor, all of which need to be sent to the backend. With VHOST_USER_PROTOCOL_F_CONFI