Re: [PATCH v3 11/14] qemuDomainSetMemoryFlags: Take virtio-mem into consideration

2021-05-03 Thread Peter Krempa
On Fri, Apr 23, 2021 at 15:24:33 +0200, Michal Privoznik wrote: > The qemuDomainSetMemoryFlags() allows for memballoon > () changes for both active and inactive guests. > And just before doing any change, we have to make sure that the > new size is not greater than the total memory (). > >

[PATCH v3 11/14] qemuDomainSetMemoryFlags: Take virtio-mem into consideration

2021-04-23 Thread Michal Privoznik
The qemuDomainSetMemoryFlags() allows for memballoon () changes for both active and inactive guests. And just before doing any change, we have to make sure that the new size is not greater than the total memory (). However, the total memory includes not only the regular guest memory, but also sum