Преглед изворни кода

Fix current memory reporting

Marek Marczykowski пре 11 година
родитељ
комит
895ca0633d
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      core-modules/000QubesVm.py

+ 1 - 1
core-modules/000QubesVm.py

@@ -664,7 +664,7 @@ class QubesVm(object):
 
         if self.libvirt_domain is None:
             return 0
-        return self.libvirt_domain.info()[3]/1024
+        return self.libvirt_domain.info()[1]
 
     def get_mem_static_max(self):
         if dry_run: