On Tue, Oct 06, 2015 at 02:10:36PM +0200, 'Oleg Ponomarev' via ganeti-devel 
wrote:
> Due to memory over-commitment forthcoming support obtaining memory_dom0
> as an amount of actively-used memory becomes incorrect. This patch
> enables hv_state CLI option iand updates default values for hv_state
> parameters. Value of 1024M is typical amount of memory required by KVM
> hypervizor itself. Python query module is unchanged because we don't
> need to query hv_state from python code.
> 
> Signed-off-by: Oleg Ponomarev <[email protected]>
> ---
>  Makefile.am                    |  1 +
>  src/Ganeti/Config.hs           | 32 ++++++++++++++++++++++
>  src/Ganeti/ConstantUtils.hs    | 17 ++++++++++++
>  src/Ganeti/Constants.hs        | 11 ++++----
>  src/Ganeti/HTools/Node.hs      |  5 ++++
>  src/Ganeti/Objects.hs          | 33 ++++++++++++-----------
>  src/Ganeti/Objects/HvState.hs  | 60 
> ++++++++++++++++++++++++++++++++++++++++++
>  src/Ganeti/Query/Group.hs      |  3 +++
>  src/Ganeti/Query/Node.hs       | 12 ++++++---
>  src/Ganeti/Query/Server.hs     |  2 ++
>  test/hs/Test/Ganeti/Objects.hs | 30 ++++++++++++++++++---
>  11 files changed, 179 insertions(+), 27 deletions(-)
>  create mode 100644 src/Ganeti/Objects/HvState.hs

LGTM

-- 
Klaus Aehlig
Google Germany GmbH, Dienerstr. 12, 80331 Muenchen
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschaeftsfuehrer: Graham Law, Christine Elizabeth Flores

Reply via email to