• Guido Trotter's avatar
    IAllocator: subtract down instances from free mem · 18640d69
    Guido Trotter authored
    Currently free_memory just reports the amount of free ram, as seen by the
    hypervisor. We adjust this amount by subtracting the memory for any instance
    which is down, and the difference for any instance which is configured to have
    more memory than the amount it's currently running at.
    Reviewed-by: iustinp
cmdlib.py 195 KB