[libvirt] [PATCH v2 2/3] virutil: introduce helper functions for memory limits

Peter Krempa pkrempa at redhat.com
Fri Mar 6 09:48:46 UTC 2015


On Thu, Mar 05, 2015 at 16:10:29 +0100, Pavel Hrdina wrote:
> The first one is to truncate the memory limit to
> VIR_DOMAIN_MEMORY_PARAM_UNLIMITED if the value is greater and the second
> one is to decide whether the memory limit is set or not, unlimited means
> that it's not set.
> 
> Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
> ---
>  src/libvirt_private.syms |  2 ++
>  src/util/virutil.c       | 24 ++++++++++++++++++++++++
>  src/util/virutil.h       |  3 +++
>  3 files changed, 29 insertions(+)

ACK,

Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150306/888c2790/attachment-0001.sig>


More information about the libvir-list mailing list