summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 571adf1)
raw | patch | inline | side by side (parent: 571adf1)
author | Johan Wirén <johan.wiren.se@gmail.com> | |
Mon, 18 Mar 2013 21:56:55 +0000 (22:56 +0100) | ||
committer | Johan Wirén <johan.wiren.se@gmail.com> | |
Mon, 18 Mar 2013 21:56:55 +0000 (22:56 +0100) |
src/libvirt.c | patch | blob | history |
diff --git a/src/libvirt.c b/src/libvirt.c
index 10ca37f7e92dcb57b04f207a84d2f43e3c0f438e..f8be994eec3d2ddad8b0b081ec0e71c2dacb465a 100644 (file)
--- a/src/libvirt.c
+++ b/src/libvirt.c
}
cpu_submit (info.cpuTime, domains[i], "virt_cpu_total");
- memory_submit ((gauge_t) info.memory, domains[i]);
+ memory_submit ((gauge_t) info.memory * 1024, domains[i]);
vinfo = malloc (info.nrVirtCpu * sizeof (vinfo[0]));
if (vinfo == NULL) {