New version of the series. v2: - Clarify that the block-commit mentioned in the first patch refers to the HMP commit command. - Check the value of cache_clean_interval and cast it accordingly to prevent it from overflowing.
v1: https://lists.gnu.org/archive/html/qemu-devel/2015-05/msg03510.html Regards, Berto Alberto Garcia (3): qcow2: mark the memory as no longer needed after qcow2_cache_empty() qcow2: add option to clean unused cache entries after some time qcow2: reorder fields in Qcow2CachedTable to reduce padding block/qcow2-cache.c | 57 +++++++++++++++++++++++++++++++++++++++++++++- block/qcow2.c | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++ block/qcow2.h | 4 ++++ qapi/block-core.json | 6 ++++- 4 files changed, 129 insertions(+), 2 deletions(-) -- 2.1.4