On Thu, Apr 16, 2026 at 02:17:56 +0900, Takashi Kajinami wrote: > MemAvailable was introduced in kernel version 3.10 (and it was even > backported to older kernels in some distributions) and has been > a quite popular method to estimate the available method (totally fully > amount + reclaimable amount). > > Signed-off-by: Takashi Kajinami <[email protected]> > --- > include/libvirt/libvirt-host.h | 10 ++++++++++ > src/libvirt-host.c | 2 ++ > src/util/virhostmem.c | 3 ++- > 3 files changed, 14 insertions(+), 1 deletion(-)
The new field is too long for the formating strings in virsh: $ virsh nodememstats total : 63393452 KiB free : 5009296 KiB available: 35725324 KiB buffers: 2279316 KiB cached : 23792344 KiB Reviewed-by: Peter Krempa <[email protected]> and I'll push this shortly. I'll see if it makes sense to refactor the virsh printing via vshTable, leave it as is or just add 2 to the spacing value, but that's outside of the scope of this patch.
