Revision 2e2fb795 lib/hypervisor/hv_lxc.py
b/lib/hypervisor/hv_lxc.py | ||
---|---|---|
361 | 361 |
raise HypervisorError("The LXC hypervisor doesn't implement the" |
362 | 362 |
" reboot functionality") |
363 | 363 |
|
364 |
def BalloonInstanceMemory(self, instance, mem): |
|
365 |
"""Balloon an instance memory to a certain value. |
|
366 |
|
|
367 |
@type instance: L{objects.Instance} |
|
368 |
@param instance: instance to be accepted |
|
369 |
@type mem: int |
|
370 |
@param mem: actual memory size to use for instance runtime |
|
371 |
|
|
372 |
""" |
|
373 |
# Currently lxc instances don't have memory limits |
|
374 |
pass |
|
375 |
|
|
364 | 376 |
def GetNodeInfo(self): |
365 | 377 |
"""Return information about the node. |
366 | 378 |
|
Also available in: Unified diff