Re: [Qemu-devel] [v6 10/14] migration: Add the core code for decompression

2015-03-25 Thread Li, Liang Z
> > +qemu_mutex_lock(¶m->mutex); > > +while (!param->start && !quit_decomp_thread) { > > start protected by param->mutex. > > > > +qemu_cond_wait(¶m->cond, ¶m->mutex); > > +pagesize = TARGET_PAGE_SIZE; > > +if (!quit_decomp_thread) { > > +

Re: [Qemu-devel] [v6 10/14] migration: Add the core code for decompression

2015-03-25 Thread Juan Quintela
Liang Li wrote: > Implement the core logic of multiple thread decompression, > the decompression can work now. > > Signed-off-by: Liang Li > Signed-off-by: Yang Zhang > --- > arch_init.c | 50 -- > 1 file changed, 48 insertions(+), 2 deletions(-)

[Qemu-devel] [v6 10/14] migration: Add the core code for decompression

2015-03-23 Thread Liang Li
Implement the core logic of multiple thread decompression, the decompression can work now. Signed-off-by: Liang Li Signed-off-by: Yang Zhang --- arch_init.c | 50 -- 1 file changed, 48 insertions(+), 2 deletions(-) diff --git a/arch_init.c b/arch