|
From: | Juan Quintela |
Subject: | Re: [Qemu-devel] [v5 02/12] migration: Add the framework of multi-thread compression |
Date: | Wed, 11 Feb 2015 09:52:39 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
Liang Li <address@hidden> 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 <address@hidden> > Signed-off-by: Yang Zhang <address@hidden> > Reviewed-by: Dr.David Alan Gilbert <address@hidden> Reviewed-by: Juan Quintela <address@hidden> > +int migrate_compress_threads(void) > +{ > + MigrationState *s; > + > + s = migrate_get_current(); > + > + return s->compress_thread_count; > +} > + As far as I can see, all users have already s in place. No that I disagree with an acessor function.
[Prev in Thread] | Current Thread | [Next in Thread] |