Re: [libvirt] [PATCH v3 1/4] qemu_domain: simplify non-VFIO memLockLimit calc for PPC64

2019-03-07 Thread Erik Skultety
On Tue, Mar 05, 2019 at 09:46:06AM -0300, Daniel Henrique Barboza wrote: > passthroughLimit is being calculated even if usesVFIO is false. > After that, a if/else conditional is used to check if we're going > to sum it up with baseLimit. > > This patch initializes passthroughLimit to zero and alway

[libvirt] [PATCH v3 1/4] qemu_domain: simplify non-VFIO memLockLimit calc for PPC64

2019-03-05 Thread Daniel Henrique Barboza
passthroughLimit is being calculated even if usesVFIO is false. After that, a if/else conditional is used to check if we're going to sum it up with baseLimit. This patch initializes passthroughLimit to zero and always return memKB = baseLimit + passthroughLimit. The conditional is then used to cal