Re: [libvirt] [PATCH v3 19/30] qemu: Take NVMe disks into account when calculating memlock limit

2019-12-10 Thread Cole Robinson
On 12/2/19 9:26 AM, Michal Privoznik wrote: > We have this beautiful function that does crystal ball > divination. The function is named > qemuDomainGetMemLockLimitBytes() and it calculates the upper > limit of how much locked memory is given guest going to need. The > function bases its guess on

[libvirt] [PATCH v3 19/30] qemu: Take NVMe disks into account when calculating memlock limit

2019-12-02 Thread Michal Privoznik
We have this beautiful function that does crystal ball divination. The function is named qemuDomainGetMemLockLimitBytes() and it calculates the upper limit of how much locked memory is given guest going to need. The function bases its guess on devices defined for a domain. For instance, if there