]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Allow qemuDomainAdjustMaxMemLock() to restore previous value
authorAndrea Bolognani <abologna@redhat.com>
Thu, 10 Dec 2015 18:13:58 +0000 (19:13 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Thu, 17 Dec 2015 09:12:47 +0000 (10:12 +0100)
commitafbe1d4c565c2f00a80cbc0849fb9e346dedbcbc
tree9a8f1ebae4fe97c68309854e0eaae8f07975f1ff
parentb583e80cb84a4fe87d01d036557bb64e36395359
qemu: Allow qemuDomainAdjustMaxMemLock() to restore previous value

When the function changes the memory lock limit for the first time,
it will retrieve the current value and store it inside the
virDomainObj for the domain.

When the function is called again, if memory locking is no longer
needed, it will be able to restore the memory locking limit to its
original value.
src/conf/domain_conf.h
src/qemu/qemu_domain.c