]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Add ppc64-specific math to qemuDomainGetMlockLimitBytes()
authorAndrea Bolognani <abologna@redhat.com>
Fri, 13 Nov 2015 09:37:12 +0000 (10:37 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Fri, 20 Nov 2015 09:25:14 +0000 (10:25 +0100)
commitd269ef165c178ad62b48e5179fc4f3b4fa5e590b
tree3180979ef96464346c54e7487f3207875a17fb7a
parent79b8c97e995d2e8bc04fb9a3972e1875fad01e6d
qemu: Add ppc64-specific math to qemuDomainGetMlockLimitBytes()

The amount of memory a ppc64 domain might need to lock is different
than that of a equally-sized x86 domain, so we need to check the
domain's architecture and act accordingly.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1273480
src/qemu/qemu_domain.c