]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Take all PHBs into account while calculating memlock limits
authorShivaprasad G Bhat <sbhat@linux.vnet.ibm.com>
Fri, 30 Jun 2017 08:26:08 +0000 (13:56 +0530)
committerAndrea Bolognani <abologna@redhat.com>
Sat, 15 Jul 2017 12:50:42 +0000 (14:50 +0200)
commit210dd0c58d6f7b12fea65ce1fa42b343de4219b6
treefde3c20e6d0ce9d8e6f026d2d8db8a2deabc21bc
parentd54bc07820a12eb6ac9268c547c34690406a3667
qemu: Take all PHBs into account while calculating memlock limits

Now that the multi-phb support series is in, work on the TODO at
qemuDomainGetMemLockLimitBytes() to arrive at the correct memlock limit
value.

Signed-off-by: Shivaprasad G Bhat <sbhat@linux.vnet.ibm.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
src/qemu/qemu_domain.c