Re: [libvirt] [PATCH 3/3] memtune: change the way how we store unlimited value

2015-03-05 Thread Peter Krempa
On Wed, Mar 04, 2015 at 17:17:07 +0100, Pavel Hrdina wrote: There was a mess in the way how we store unlimited value for memory limits and how we handled values provided by user. Internally there were two possible ways how to store unlimited value: as 0 value or as

[libvirt] [PATCH 3/3] memtune: change the way how we store unlimited value

2015-03-04 Thread Pavel Hrdina
There was a mess in the way how we store unlimited value for memory limits and how we handled values provided by user. Internally there were two possible ways how to store unlimited value: as 0 value or as VIR_DOMAIN_MEMORY_PARAM_UNLIMITED. Because we chose to store memory limits as unsigned