Commit 43fee421 authored by Dietmar Maurer's avatar Dietmar Maurer

disable auto-ballon if shares is set to zero

parent 8372a03e
......@@ -93,6 +93,8 @@ sub compute_alg1 {
my $d = $vmstatus->{$vmid};
next if !$d->{balloon}; # skip if balloon driver not running
next if !$d->{balloon_min}; # skip if balloon value not set in config
next if defined($d->{shares}) &&
($d->{shares} == 0); # skip if shares set to zero
push @$idlist, $vmid;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment