Commit b990eedd authored by Guido Trotter's avatar Guido Trotter
Browse files

Hypervisor: allow ballooning of instance memory

This new hypervisor call sets the memory of an instance to a new value,
through ballooning.
Signed-off-by: default avatarGuido Trotter <>
Reviewed-by: default avatarRené Nussbaumer <>
parent 7530364d
......@@ -295,6 +295,17 @@ class BaseHypervisor(object):
def BalloonInstanceMemory(self, instance, mem):
"""Balloon an instance memory to a certain value.
@type instance: L{objects.Instance}
@param instance: instance to be accepted
@type mem: int
@param mem: actual memory size to use for instance runtime
raise NotImplementedError
def FinalizeMigrationDst(self, instance, info, success):
"""Finalize the instance migration on the target node.
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