Re: [PATCH v1 4/9] vfio: Support for RamDiscardMgr in the !vIOMMU case

2020-12-03 Thread David Hildenbrand
On 03.12.20 00:26, Alex Williamson wrote: > On Thu, 19 Nov 2020 16:39:13 +0100 > David Hildenbrand wrote: > >> Implement support for RamDiscardMgr, to prepare for virtio-mem >> support. Instead of mapping the whole memory section, we only map >> "populated" parts and update the mapping when notif

Re: [PATCH v1 4/9] vfio: Support for RamDiscardMgr in the !vIOMMU case

2020-12-02 Thread Alex Williamson
On Thu, 19 Nov 2020 16:39:13 +0100 David Hildenbrand wrote: > Implement support for RamDiscardMgr, to prepare for virtio-mem > support. Instead of mapping the whole memory section, we only map > "populated" parts and update the mapping when notified about > discarding/population of memory via the

[PATCH v1 4/9] vfio: Support for RamDiscardMgr in the !vIOMMU case

2020-11-19 Thread David Hildenbrand
Implement support for RamDiscardMgr, to prepare for virtio-mem support. Instead of mapping the whole memory section, we only map "populated" parts and update the mapping when notified about discarding/population of memory via the RamDiscardListener. Similarly, when syncing the dirty bitmaps, sync o