Re: [Qemu-devel] [v5 02/12] migration: Add the framework of multi-thread compression

2015-02-12 Thread Juan Quintela
"Li, Liang Z" wrote: >> Reviewing patch 8, I found that we need to fix some things here. >> >> > +static int ram_save_compressed_page(QEMUFile *f, RAMBlock *block, >> > +ram_addr_t offset, bool >> > +last_stage) { >> > +int bytes_sent = -1; >> > + >> > +

Re: [Qemu-devel] [v5 02/12] migration: Add the framework of multi-thread compression

2015-02-11 Thread Li, Liang Z
> Reviewing patch 8, I found that we need to fix some things here. > > > +static int ram_save_compressed_page(QEMUFile *f, RAMBlock *block, > > +ram_addr_t offset, bool > > +last_stage) { > > +int bytes_sent = -1; > > + > > +/* To be done*/ > > + > > +

Re: [Qemu-devel] [v5 02/12] migration: Add the framework of multi-thread compression

2015-02-11 Thread Juan Quintela
Liang Li wrote: > Add the code to create and destroy the multiple threads those will > be used to do data compression. Left some functions empty to keep > clearness, and the code will be added later. > > Signed-off-by: Liang Li > Signed-off-by: Yang Zhang > Reviewed-by: Dr.David Alan Gilbert A

Re: [Qemu-devel] [v5 02/12] migration: Add the framework of multi-thread compression

2015-02-11 Thread Juan Quintela
Liang Li wrote: > Add the code to create and destroy the multiple threads those will > be used to do data compression. Left some functions empty to keep > clearness, and the code will be added later. > > Signed-off-by: Liang Li > Signed-off-by: Yang Zhang > Reviewed-by: Dr.David Alan Gilbert /

Re: [Qemu-devel] [v5 02/12] migration: Add the framework of multi-thread compression

2015-02-11 Thread Juan Quintela
Liang Li wrote: > Add the code to create and destroy the multiple threads those will > be used to do data compression. Left some functions empty to keep > clearness, and the code will be added later. > > Signed-off-by: Liang Li > Signed-off-by: Yang Zhang > Reviewed-by: Dr.David Alan Gilbert R

[Qemu-devel] [v5 02/12] migration: Add the framework of multi-thread compression

2015-02-10 Thread Liang Li
Add the code to create and destroy the multiple threads those will be used to do data compression. Left some functions empty to keep clearness, and the code will be added later. Signed-off-by: Liang Li Signed-off-by: Yang Zhang Reviewed-by: Dr.David Alan Gilbert --- arch_init.c