Re: [PATCH v2 01/10] memory: Introduce RamDiscardMgr for RAM memory regions

2020-12-09 Thread Pankaj Gupta
> We have some special RAM memory regions (managed by virtio-mem), whereby > the guest agreed to only use selected memory ranges. "unused" parts are > discarded so they won't consume memory - to logically unplug these memory > ranges. Before the VM is allowed to use such logically unplugged memory

[PATCH v2 01/10] memory: Introduce RamDiscardMgr for RAM memory regions

2020-12-08 Thread David Hildenbrand
We have some special RAM memory regions (managed by virtio-mem), whereby the guest agreed to only use selected memory ranges. "unused" parts are discarded so they won't consume memory - to logically unplug these memory ranges. Before the VM is allowed to use such logically unplugged memory again, c