Re: [libvirt] [PATCH v2 1/3] qemu: Extract logic to determine the mlock limit size for VFIO

2015-11-10 Thread Ján Tomko
On Mon, Nov 09, 2015 at 01:09:59PM -0500, John Ferlan wrote: > > > On 11/09/2015 07:50 AM, Peter Krempa wrote: > > New function qemuDomainGetMlockLimitBytes will now handle the > > calculation so that it unifies the logic to one place and allows later > > reuse. > > --- > >

[libvirt] [PATCH v2 1/3] qemu: Extract logic to determine the mlock limit size for VFIO

2015-11-09 Thread Peter Krempa
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 | 18 ++ src/qemu/qemu_domain.c | 27 +++ src/qemu/qemu_domain.h | 2 ++

Re: [libvirt] [PATCH v2 1/3] qemu: Extract logic to determine the mlock limit size for VFIO

2015-11-09 Thread John Ferlan
On 11/09/2015 07:50 AM, Peter Krempa wrote: > 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 | 18 ++ > src/qemu/qemu_domain.c | 27

Re: [libvirt] [PATCH v2 1/3] qemu: Extract logic to determine the mlock limit size for VFIO

2015-11-09 Thread Peter Krempa
On Mon, Nov 09, 2015 at 13:09:59 -0500, John Ferlan wrote: > On 11/09/2015 07:50 AM, Peter Krempa wrote: > > New function qemuDomainGetMlockLimitBytes will now handle the > > calculation so that it unifies the logic to one place and allows later > > reuse. > > --- [...] > > +/** > > + *