+3
−0
Loading
XBZRLE encoded migration introduced a MRU page cache meachnism. Unfortunately, cached items where never freed in case of a collision in the page cache on cache_insert(). This lead to out of memory conditions during XBZRLE migration if the page cache was small and there where a lot of collisions in the cache. Signed-off-by:Peter Lieven <pl@kamp.de> Signed-off-by:
Orit Wasserman <owasserm@redhat.com> Reviewed-by:
Peter Maydell <peter.maydell@linaro.org> Signed-off-by:
Juan Quintela <quintela@redhat.com>