]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Extract logic to determine the mlock limit size for VFIO
authorPeter Krempa <pkrempa@redhat.com>
Fri, 6 Nov 2015 14:51:33 +0000 (15:51 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 10 Nov 2015 08:26:38 +0000 (09:26 +0100)
commitfbc58cfcaeffdd4a350cf6abd67da6006f01b148
tree362972737b08bf6c84daf02cd9fbd0456acf4c01
parentfeaba3e17979ac99a989ec03cd176a5aadf9324c
qemu: Extract logic to determine the mlock limit size for VFIO

New function qemuDomainGetMlockLimitBytes will now handle the
calculation so that it unifies the logic to one place and allows later
reuse.
src/qemu/qemu_command.c
src/qemu/qemu_domain.c
src/qemu/qemu_domain.h
src/qemu/qemu_hotplug.c