Commit aaf181f3 authored by Antoine Millet's avatar Antoine Millet

Mem tag now return max_mem if vm is stopped instead of 0

parent 8e60f299
......@@ -107,7 +107,10 @@ def cpuuse(dom):
def mem(dom):
"""Memory currently allocated."""
return[2] * 1024
if dom.state == 'stopped':
return[1] * 1024
return[2] * 1024
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment