Browse Source

Fix current memory reporting

Marek Marczykowski 11 năm trước cách đây
mục cha
commit
895ca0633d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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: