[PULL 05/17] util: vfio-helpers: Factor out and fix processing of existing ram blocks

2021-05-13 Thread Dr. David Alan Gilbert (git)
From: David Hildenbrand Factor it out into common code when a new notifier is registered, just as done with the memory region notifier. This keeps logic about how to process existing ram blocks at a central place. Just like when adding a new ram block, we have to register the max_length. Ram

[PULL 05/17] util: vfio-helpers: Factor out and fix processing of existing ram blocks

2021-05-11 Thread Dr. David Alan Gilbert (git)
From: David Hildenbrand Factor it out into common code when a new notifier is registered, just as done with the memory region notifier. This keeps logic about how to process existing ram blocks at a central place. Just like when adding a new ram block, we have to register the max_length. Ram