Re: [Qemu-devel] [PATCH v9 06/10] Add XBZRLE to ram_save_block and ram_save_live

2012-04-19 Thread Orit Wasserman
On 04/18/2012 08:32 PM, Anthony Liguori wrote: > On 04/11/2012 01:49 PM, Orit Wasserman wrote: >> Add migration state to store XBRLE params (enablement and cache size). >> In the outgoing migration check to see if the page is cached and >> changed than send compressed page by using save_xbrle_page

Re: [Qemu-devel] [PATCH v9 06/10] Add XBZRLE to ram_save_block and ram_save_live

2012-04-18 Thread Orit Wasserman
On 04/18/2012 07:54 PM, Juan Quintela wrote: > Orit Wasserman wrote: > >> @@ -104,6 +104,7 @@ const uint32_t arch_type = QEMU_ARCH; >> #define RAM_SAVE_FLAG_PAGE 0x08 >> #define RAM_SAVE_FLAG_EOS 0x10 >> #define RAM_SAVE_FLAG_CONTINUE 0x20 >> +#define RAM_SAVE_FLAG_XBZRLE 0x40 > > m

Re: [Qemu-devel] [PATCH v9 06/10] Add XBZRLE to ram_save_block and ram_save_live

2012-04-18 Thread Anthony Liguori
On 04/11/2012 01:49 PM, Orit Wasserman wrote: Add migration state to store XBRLE params (enablement and cache size). 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_

Re: [Qemu-devel] [PATCH v9 06/10] Add XBZRLE to ram_save_block and ram_save_live

2012-04-18 Thread Juan Quintela
Orit Wasserman wrote: > @@ -104,6 +104,7 @@ const uint32_t arch_type = QEMU_ARCH; > #define RAM_SAVE_FLAG_PAGE 0x08 > #define RAM_SAVE_FLAG_EOS 0x10 > #define RAM_SAVE_FLAG_CONTINUE 0x20 > +#define RAM_SAVE_FLAG_XBZRLE 0x40 missing space for alignment? > > #ifdef __ALTIVEC__ >

[Qemu-devel] [PATCH v9 06/10] Add XBZRLE to ram_save_block and ram_save_live

2012-04-11 Thread Orit Wasserman
Add migration state to store XBRLE params (enablement and cache size). 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 (