From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43142) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8loy-0008OV-Mz for qemu-devel@nongnu.org; Thu, 30 Jan 2014 02:14:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W8los-0003dc-Or for qemu-devel@nongnu.org; Thu, 30 Jan 2014 02:13:56 -0500 Received: from mx1.redhat.com ([209.132.183.28]:44228) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8los-0003dK-HL for qemu-devel@nongnu.org; Thu, 30 Jan 2014 02:13:50 -0500 From: Orit Wasserman Date: Thu, 30 Jan 2014 09:14:09 +0200 Message-Id: <1391066055-17024-1-git-send-email-owasserm@redhat.com> Subject: [Qemu-devel] [PATCH 0/6] XBZRLE Fixes List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, Orit Wasserman , anthony@codemonkey.ws, quintela@redhat.com Fix memory leak and missing NULLs. Better cache size validation checks. Fail migration instead of aborting QEMU in case there is not enough memory for the page cache. Gonglei (Arei) (1): migration:fix free XBZRLE decoded_buf wrong Orit Wasserman (5): Set xbzrle buffers to NULL after freeing them to avoid double free errors Add check for cache size smaller than page size XBZRLE cache size should not be larger than guest memory size Don't abort on out of memory when creating page cache Don't abort on memory allocation error arch_init.c | 47 +++++++++++++++++++++++++++++++----------- include/migration/migration.h | 1 + include/migration/page_cache.h | 4 +++- migration.c | 18 +++++++++++++++- page_cache.c | 34 ++++++++++++++++++++++-------- 5 files changed, 81 insertions(+), 23 deletions(-) -- 1.8.3.1