]> git.proxmox.com Git - qemu.git/commit - arch_init.c
Add XBZRLE to ram_save_block and ram_save_live
authorOrit Wasserman <owasserm@redhat.com>
Mon, 6 Aug 2012 18:42:53 +0000 (21:42 +0300)
committerJuan Quintela <quintela@redhat.com>
Wed, 8 Aug 2012 11:51:12 +0000 (13:51 +0200)
commit17ad9b358bceba78ae80f2963c6036eab726010c
tree91c6a43d53a8f93e845b82a58372f64c7e95308e
parent302dfbeb21fc5154c24ca50d296e865a3778c7da
Add XBZRLE to ram_save_block and ram_save_live

In the outgoing migration check to see if the page is cached and
changed, then send compressed page by using save_xbrle_page function.
In the incoming migration check to see if RAM_SAVE_FLAG_XBZRLE is set
and decompress the page (by using load_xbrle function).

Signed-off-by: Benoit Hudzia <benoit.hudzia@sap.com>
Signed-off-by: Petter Svard <petters@cs.umu.se>
Signed-off-by: Aidan Shribman <aidan.shribman@sap.com>
Signed-off-by: Orit Wasserman <owasserm@redhat.com>
Reviewed-by: Luiz Capitulino <lcapitulino@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
arch_init.c
migration.c
migration.h