From 895ca0633d67d5a11782d1eb133b2db1efae9bfe Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Mon, 6 May 2013 06:51:40 +0200 Subject: [PATCH] Fix current memory reporting --- core-modules/000QubesVm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core-modules/000QubesVm.py b/core-modules/000QubesVm.py index 691c092c..2f662ba9 100644 --- a/core-modules/000QubesVm.py +++ b/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: