Re: [PATCH v3 6/6] libvhost-user: handle removal of identical regions

2022-01-17 Thread David Hildenbrand
On 17.01.22 05:12, Raphael Norwitz wrote: > Today if QEMU (or any other VMM) has sent multiple copies of the same > region to a libvhost-user based backend and then attempts to remove the > region, only one instance of the region will be removed, leaving stale > copies of the region in dev->regions

[PATCH v3 6/6] libvhost-user: handle removal of identical regions

2022-01-16 Thread Raphael Norwitz
Today if QEMU (or any other VMM) has sent multiple copies of the same region to a libvhost-user based backend and then attempts to remove the region, only one instance of the region will be removed, leaving stale copies of the region in dev->regions[]. This change resolves this by having vu_rem_me