Re: [Qemu-devel] [PATCH] vhost: Release memory references on cleanup

2017-09-09 Thread Paolo Bonzini
On 07/09/2017 22:27, Alex Williamson wrote: > vhost registers a MemoryListener where it adds and removes references > to MemoryRegions as the MemoryRegionSections pass through. The > region_add callback is invoked for each existing section when the > MemoryListener is registered, but unregistering

[Qemu-devel] [PATCH] vhost: Release memory references on cleanup

2017-09-07 Thread Alex Williamson
vhost registers a MemoryListener where it adds and removes references to MemoryRegions as the MemoryRegionSections pass through. The region_add callback is invoked for each existing section when the MemoryListener is registered, but unregistering the MemoryListener performs no reciprocal region_de