[libvirt] [PATCH 1/3] qemu: Move memory limit computation to a reusable function

Paolo Bonzini pbonzini at redhat.com
Tue Jul 2 10:34:44 UTC 2013


Il 02/07/2013 08:34, Jiri Denemark ha scritto:
> I'm not sure if that's
> the right think to do or not but it's certainly better than before when
> memory locking limit completely ignore the need for VRAM and per-disk
> cache. Unfortunately, the original formula was suggested by Avi, who
> moved to new challenges. Perhaps others could jump in and share their
> opinions (Paolo? :-P).

I think the disk cache should not be counted in the memory locking
limit.  Apart from that, the code you posted below makes sense.

Paolo




More information about the libvir-list mailing list