]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Refactor qemuDomainAdjustMaxMemLock()
authorAndrea Bolognani <abologna@redhat.com>
Wed, 3 Mar 2021 17:41:34 +0000 (18:41 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Mon, 22 Mar 2021 11:05:18 +0000 (12:05 +0100)
commitb4967d7498756777ea64ead2707147d6cbd1a0ff
tree03a2e13635c4b56719a7843aa78376a5c3580bed
parenta6b280451384f0816b1835befaf0e9f9b9946c31
qemu: Refactor qemuDomainAdjustMaxMemLock()

Store the current memory locking limit and the desired one
separately, which will help with later changes.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/qemu/qemu_domain.c