XBZRLE: Fix one XBZRLE corruption issues
commit1534ee93cc6be992c05577886b24bd44c37ecff6
authorChenLiang <chenliang88@huawei.com>
Fri, 4 Apr 2014 09:57:53 +0000 (4 17:57 +0800)
committerJuan Quintela <quintela@redhat.com>
Mon, 5 May 2014 20:15:03 +0000 (5 22:15 +0200)
tree6f3963b2c5bb289fa2a5ff6878bd933118206356
parent21a246a43b606ee833f907d589d8dcbb54a2761e
XBZRLE: Fix one XBZRLE corruption issues

The page may not be inserted into cache after executing save_xbzrle_page.
In case of failure to insert, the original page should be sent rather
than the page in the cache.

Signed-off-by: ChenLiang <chenliang88@huawei.com>
Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
arch_init.c