Ver código fonte

Fix current memory reporting

Marek Marczykowski 11 anos atrás
pai
commit
895ca0633d
1 arquivos alterados com 1 adições e 1 exclusões
  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: