Introduced in libvirt 4.6.0 by commit <aee04655089>. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1683516 Signed-off-by: Pavel Hrdina <phrdina@xxxxxxxxxx> --- libvirt-override.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libvirt-override.c b/libvirt-override.c index ff2cfdf..3310b54 100644 --- a/libvirt-override.c +++ b/libvirt-override.c @@ -409,6 +409,11 @@ libvirt_virDomainMemoryStats(PyObject *self ATTRIBUTE_UNUSED, key = libvirt_constcharPtrWrap("last_update"); break; #endif /* LIBVIR_CHECK_VERSION(2, 1, 0) */ +#if LIBVIR_CHECK_VERSION(4, 6, 0) + case VIR_DOMAIN_MEMORY_STAT_DISK_CACHES: + key = libvirt_constcharPtrWrap("disk_caches"); + break; +#endif /* LIBVIR_CHECK_VERSION(4, 6, 0) */ default: continue; } -- 2.21.0 -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list