]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: domain: Restructurate control flow in qemuDomainGetMlockLimitBytes
authorPeter Krempa <pkrempa@redhat.com>
Wed, 11 Nov 2015 05:49:06 +0000 (06:49 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 12 Nov 2015 07:03:37 +0000 (08:03 +0100)
commite7b91c510e9831b2741469809465bb68a87c8362
tree431125b6139867e08f1ae14c9fdb63bf988599ed
parent53ec39ea638d568a2eb054956219c452f16981e5
qemu: domain: Restructurate control flow in qemuDomainGetMlockLimitBytes

Break early when hard limit is set so that it's not intermixed by other
logic for determining the limit.
src/qemu/qemu_domain.c