[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 0/6] XBZRLE Fixes
From: |
Orit Wasserman |
Subject: |
[Qemu-devel] [PATCH v2 0/6] XBZRLE Fixes |
Date: |
Thu, 30 Jan 2014 20:08:32 +0200 |
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.
Changes from v1:
Free encoded_buf in case of failure to allocate
current_buf.
Update num_items after successful allocation.
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 | 49 +++++++++++++++++++++++++++++++-----------
include/migration/migration.h | 1 +
include/migration/page_cache.h | 4 +++-
migration.c | 18 +++++++++++++++-
page_cache.c | 34 +++++++++++++++++++++--------
5 files changed, 83 insertions(+), 23 deletions(-)
--
1.8.3.1
[Qemu-devel] [PATCH v2 3/6] migration:fix free XBZRLE decoded_buf wrong, Orit Wasserman, 2014/01/30
[Qemu-devel] [PATCH v2 5/6] Don't abort on out of memory when creating page cache, Orit Wasserman, 2014/01/30