Fix current memory reporting
This commit is contained in:
parent
4f090cdb5e
commit
895ca0633d
@ -664,7 +664,7 @@ class QubesVm(object):
|
|||||||
|
|
||||||
if self.libvirt_domain is None:
|
if self.libvirt_domain is None:
|
||||||
return 0
|
return 0
|
||||||
return self.libvirt_domain.info()[3]/1024
|
return self.libvirt_domain.info()[1]
|
||||||
|
|
||||||
def get_mem_static_max(self):
|
def get_mem_static_max(self):
|
||||||
if dry_run:
|
if dry_run:
|
||||||
|
Loading…
Reference in New Issue
Block a user