Revision fac489a5 lib/hypervisor/hv_kvm.py

b/lib/hypervisor/hv_kvm.py
1987 1987
    """
1988 1988
    self._CallMonitorCommand(instance.name, "balloon %d" % mem)
1989 1989

  
1990
  def GetNodeInfo(self):
1990
  def GetNodeInfo(self, hvparams=None):
1991 1991
    """Return information about the node.
1992 1992

  
1993
    @type hvparams: dict of strings
1994
    @param hvparams: hypervisor parameters, not used in this class
1995

  
1993 1996
    @return: a dict with the following keys (values in MiB):
1994 1997
          - memory_total: the total memory size on the node
1995 1998
          - memory_free: the available memory on the node for instances

Also available in: Unified diff