Fix 'hvparams' of '_InstanceStartupMemory' on hypervisors
authorJose A. Lopes <jabolopes@gmail.com>
Fri, 24 Jan 2014 00:24:51 +0000 (01:24 +0100)
committerJose A. Lopes <jabolopes@google.com>
Fri, 24 Jan 2014 10:05:59 +0000 (11:05 +0100)
commit30b126881f0f1c82923cb5e60093162099e69874
tree5f5141a83361f0b243196510e3ede7d735a63a09
parentc9c67b5042ef1289e2ecd39cdbcd6606b576e2d3
Fix 'hvparams' of '_InstanceStartupMemory' on hypervisors

Most hypervisors were calling '_InstanceStartupMemory' but not passing
the 'hvparams' keyword argument.  Actually, it is not necessary to
pass this argument given that it is an attribute in the instance
object, which is passed.  This patch removes the 'hvparams' arg all
together, fixes the function and the calls to it.

Fixes issue 691.

Signed-off-by: Jose A. Lopes <jabolopes@google.com>
Reviewed-by: Klaus Aehlig <aehlig@google.com>
lib/hypervisor/hv_base.py
lib/hypervisor/hv_xen.py