diff --git a/src/lxc/lxc_fuse.c b/src/lxc/lxc_fuse.c index 691ddee9eb660e022e491e2bf2dda14665c70805..8c20a7d5742de0c94c8a0656e9743520ae42cd3a 100644 --- a/src/lxc/lxc_fuse.c +++ b/src/lxc/lxc_fuse.c @@ -217,6 +217,12 @@ static int lxcProcReadMeminfo(char *hostpath, virDomainDefPtr def, virBufferAsprintf(new_meminfo, "SwapFree: %8llu kB\n", (meminfo.swaptotal - meminfo.memtotal - meminfo.swapusage + meminfo.memusage)); + } else if (STREQ(line, "Slab")) { + virBufferAsprintf(new_meminfo, "Slab: %8d kB\n", 0); + } else if (STREQ(line, "SReclaimable")) { + virBufferAsprintf(new_meminfo, "SReclaimable: %8d kB\n", 0); + } else if (STREQ(line, "SUnreclaim")) { + virBufferAsprintf(new_meminfo, "SUnreclaim: %8d kB\n", 0); } else { *ptr = ':'; virBufferAdd(new_meminfo, line, -1);