On 06/19/2012 09:43 AM, Orit Wasserman wrote: > In the outgoing migration check to see if the page is cached and > changed than send compressed page by using save_xbrle_page function. > In the incoming migration check to see if RAM_SAVE_FLAG_XBRLE is set > and decompress the page (by using load_xbrle function). > > Signed-off-by: Benoit Hudzia <[email protected]> > Signed-off-by: Petter Svard <[email protected]> > Signed-off-by: Aidan Shribman <[email protected]> > Signed-off-by: Orit Wasserman <[email protected]>
> +
> + /* Stage 1 cache the page and exit.
> + Stage 2 check to see if page is cached , if not cache the page.
s/ ,/,/
> + } else if (migrate_use_xbzrle() && stage != 3) {
> + /* In stage 1 we only cache the pages before sending them
> + from the cache (uncompressed).
> + We doen't use compression for stage 3.
s/doen't/don't/
--
Eric Blake [email protected] +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
