Re: [Qemu-devel] [PATCH v5 06/10] XBZRLE: rebuild the cache_is_cached function

2014-05-01 Thread Eric Blake
On 04/04/2014 03:57 AM, arei.gong...@huawei.com wrote: > From: ChenLiang > > Rebuild the cache_is_cached function by cache_get_by_addr. And > drops the asserts because the caller is also asserting the same > thing. Technically, the caller (parent - arch_init.c:save_xbzrle_page) is not asserting

[Qemu-devel] [PATCH v5 06/10] XBZRLE: rebuild the cache_is_cached function

2014-04-04 Thread arei.gonglei
From: ChenLiang Rebuild the cache_is_cached function by cache_get_by_addr. And drops the asserts because the caller is also asserting the same thing. Signed-off-by: ChenLiang Signed-off-by: Gonglei Reviewed-by: Dr. David Alan Gilbert --- page_cache.c | 38