qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] migration: static variables will not be reset at second migration
@ 2014-03-20 12:15 arei.gonglei
  2014-03-21 13:25 ` Juan Quintela
  2014-03-21 13:25 ` Juan Quintela
  0 siblings, 2 replies; 12+ messages in thread
From: arei.gonglei @ 2014-03-20 12:15 UTC (permalink / raw)
  To: qemu-devel; +Cc: ChenLiang, quintela, dgilbert, owasserm, Gonglei, pbonzini

From: ChenLiang <chenliang88@huawei.com>

The static variables in migration_bitmap_sync will not be reset in
the case of a second attempted migration.

Signed-off-by: ChenLiang <chenliang88@huawei.com>
Signed-off-by: Gonglei <arei.gonglei@huawei.com>
---
 arch_init.c | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/arch_init.c b/arch_init.c
index 60c975d..10516cb 100644
--- a/arch_init.c
+++ b/arch_init.c
@@ -468,15 +468,23 @@ static void migration_bitmap_sync_range(ram_addr_t start, ram_addr_t length)
 
 
 /* Needs iothread lock! */
+/* Fix me: there are too many global variables used in migration process. */
+static int64_t start_time;
+static int64_t bytes_xfer_prev;
+static int64_t num_dirty_pages_period;
+
+static void migration_bitmap_sync_init(void)
+{
+    start_time = 0;
+    bytes_xfer_prev = 0;
+    num_dirty_pages_period = 0;
+}
 
 static void migration_bitmap_sync(void)
 {
     RAMBlock *block;
     uint64_t num_dirty_pages_init = migration_dirty_pages;
     MigrationState *s = migrate_get_current();
-    static int64_t start_time;
-    static int64_t bytes_xfer_prev;
-    static int64_t num_dirty_pages_period;
     int64_t end_time;
     int64_t bytes_xfer_now;
 
@@ -733,6 +741,7 @@ static int ram_save_setup(QEMUFile *f, void *opaque)
     migration_dirty_pages = ram_pages;
     mig_throttle_on = false;
     dirty_rate_high_cnt = 0;
+    migration_bitmap_sync_init();
 
     if (migrate_use_xbzrle()) {
         qemu_mutex_lock_iothread();
-- 
1.7.12.4

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* Re: [Qemu-devel] [PATCH] migration: static variables will not be reset at second migration
  2014-03-20 12:15 [Qemu-devel] [PATCH] migration: static variables will not be reset at second migration arei.gonglei
@ 2014-03-21 13:25 ` Juan Quintela
  2014-03-21 13:25 ` Juan Quintela
  1 sibling, 0 replies; 12+ messages in thread
From: Juan Quintela @ 2014-03-21 13:25 UTC (permalink / raw)
  To: arei.gonglei; +Cc: ChenLiang, qemu-devel, dgilbert, owasserm, pbonzini

<arei.gonglei@huawei.com> wrote:
> From: ChenLiang <chenliang88@huawei.com>
>
> The static variables in migration_bitmap_sync will not be reset in
> the case of a second attempted migration.
>
> Signed-off-by: ChenLiang <chenliang88@huawei.com>
> Signed-off-by: Gonglei <arei.gonglei@huawei.com>

Good catch.  Applied..

> ---
>  arch_init.c | 15 ++++++++++++---
>  1 file changed, 12 insertions(+), 3 deletions(-)
>
> diff --git a/arch_init.c b/arch_init.c
> index 60c975d..10516cb 100644
> --- a/arch_init.c
> +++ b/arch_init.c
> @@ -468,15 +468,23 @@ static void migration_bitmap_sync_range(ram_addr_t start, ram_addr_t length)
>  
>  
>  /* Needs iothread lock! */
> +/* Fix me: there are too many global variables used in migration process. */
> +static int64_t start_time;
> +static int64_t bytes_xfer_prev;
> +static int64_t num_dirty_pages_period;
> +
> +static void migration_bitmap_sync_init(void)
> +{
> +    start_time = 0;
> +    bytes_xfer_prev = 0;
> +    num_dirty_pages_period = 0;
> +}
>  
>  static void migration_bitmap_sync(void)
>  {
>      RAMBlock *block;
>      uint64_t num_dirty_pages_init = migration_dirty_pages;
>      MigrationState *s = migrate_get_current();
> -    static int64_t start_time;
> -    static int64_t bytes_xfer_prev;
> -    static int64_t num_dirty_pages_period;
>      int64_t end_time;
>      int64_t bytes_xfer_now;
>  
> @@ -733,6 +741,7 @@ static int ram_save_setup(QEMUFile *f, void *opaque)
>      migration_dirty_pages = ram_pages;
>      mig_throttle_on = false;
>      dirty_rate_high_cnt = 0;
> +    migration_bitmap_sync_init();
>  
>      if (migrate_use_xbzrle()) {
>          qemu_mutex_lock_iothread();

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Qemu-devel] [PATCH] migration: static variables will not be reset at second migration
  2014-03-20 12:15 [Qemu-devel] [PATCH] migration: static variables will not be reset at second migration arei.gonglei
  2014-03-21 13:25 ` Juan Quintela
@ 2014-03-21 13:25 ` Juan Quintela
  2014-05-15 11:33   ` Gonglei (Arei)
  2014-06-24  6:23   ` Gonglei (Arei)
  1 sibling, 2 replies; 12+ messages in thread
From: Juan Quintela @ 2014-03-21 13:25 UTC (permalink / raw)
  To: arei.gonglei; +Cc: ChenLiang, qemu-devel, dgilbert, owasserm, pbonzini

<arei.gonglei@huawei.com> wrote:
> From: ChenLiang <chenliang88@huawei.com>
>
> The static variables in migration_bitmap_sync will not be reset in
> the case of a second attempted migration.
>
> Signed-off-by: ChenLiang <chenliang88@huawei.com>
> Signed-off-by: Gonglei <arei.gonglei@huawei.com>

Good catch.  Applied..

> ---
>  arch_init.c | 15 ++++++++++++---
>  1 file changed, 12 insertions(+), 3 deletions(-)
>
> diff --git a/arch_init.c b/arch_init.c
> index 60c975d..10516cb 100644
> --- a/arch_init.c
> +++ b/arch_init.c
> @@ -468,15 +468,23 @@ static void migration_bitmap_sync_range(ram_addr_t start, ram_addr_t length)
>  
>  
>  /* Needs iothread lock! */
> +/* Fix me: there are too many global variables used in migration process. */
> +static int64_t start_time;
> +static int64_t bytes_xfer_prev;
> +static int64_t num_dirty_pages_period;
> +
> +static void migration_bitmap_sync_init(void)
> +{
> +    start_time = 0;
> +    bytes_xfer_prev = 0;
> +    num_dirty_pages_period = 0;
> +}
>  
>  static void migration_bitmap_sync(void)
>  {
>      RAMBlock *block;
>      uint64_t num_dirty_pages_init = migration_dirty_pages;
>      MigrationState *s = migrate_get_current();
> -    static int64_t start_time;
> -    static int64_t bytes_xfer_prev;
> -    static int64_t num_dirty_pages_period;
>      int64_t end_time;
>      int64_t bytes_xfer_now;
>  
> @@ -733,6 +741,7 @@ static int ram_save_setup(QEMUFile *f, void *opaque)
>      migration_dirty_pages = ram_pages;
>      mig_throttle_on = false;
>      dirty_rate_high_cnt = 0;
> +    migration_bitmap_sync_init();
>  
>      if (migrate_use_xbzrle()) {
>          qemu_mutex_lock_iothread();

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Qemu-devel] [PATCH] migration: static variables will not be reset at second migration
  2014-03-21 13:25 ` Juan Quintela
@ 2014-05-15 11:33   ` Gonglei (Arei)
  2014-06-24  6:23   ` Gonglei (Arei)
  1 sibling, 0 replies; 12+ messages in thread
From: Gonglei (Arei) @ 2014-05-15 11:33 UTC (permalink / raw)
  To: quintela@redhat.com
  Cc: chenliang (T), qemu-devel@nongnu.org, dgilbert@redhat.com,
	owasserm@redhat.com, pbonzini@redhat.com

Hi, Juan

Ping...

Maybe you forgot to pull this patch, right? Thanks.



Best regards,
-Gonglei


> -----Original Message-----
> From: Juan Quintela [mailto:quintela@redhat.com]
> Sent: Friday, March 21, 2014 9:26 PM
> To: Gonglei (Arei)
> Cc: qemu-devel@nongnu.org; owasserm@redhat.com; pbonzini@redhat.com;
> eblake@redhat.com; dgilbert@redhat.com; chenliang (T)
> Subject: Re: [PATCH] migration: static variables will not be reset at second
> migration
> 
> <arei.gonglei@huawei.com> wrote:
> > From: ChenLiang <chenliang88@huawei.com>
> >
> > The static variables in migration_bitmap_sync will not be reset in
> > the case of a second attempted migration.
> >
> > Signed-off-by: ChenLiang <chenliang88@huawei.com>
> > Signed-off-by: Gonglei <arei.gonglei@huawei.com>
> 
> Good catch.  Applied..
> 
> > ---
> >  arch_init.c | 15 ++++++++++++---
> >  1 file changed, 12 insertions(+), 3 deletions(-)
> >
> > diff --git a/arch_init.c b/arch_init.c
> > index 60c975d..10516cb 100644
> > --- a/arch_init.c
> > +++ b/arch_init.c
> > @@ -468,15 +468,23 @@ static void
> migration_bitmap_sync_range(ram_addr_t start, ram_addr_t length)
> >
> >
> >  /* Needs iothread lock! */
> > +/* Fix me: there are too many global variables used in migration process. */
> > +static int64_t start_time;
> > +static int64_t bytes_xfer_prev;
> > +static int64_t num_dirty_pages_period;
> > +
> > +static void migration_bitmap_sync_init(void)
> > +{
> > +    start_time = 0;
> > +    bytes_xfer_prev = 0;
> > +    num_dirty_pages_period = 0;
> > +}
> >
> >  static void migration_bitmap_sync(void)
> >  {
> >      RAMBlock *block;
> >      uint64_t num_dirty_pages_init = migration_dirty_pages;
> >      MigrationState *s = migrate_get_current();
> > -    static int64_t start_time;
> > -    static int64_t bytes_xfer_prev;
> > -    static int64_t num_dirty_pages_period;
> >      int64_t end_time;
> >      int64_t bytes_xfer_now;
> >
> > @@ -733,6 +741,7 @@ static int ram_save_setup(QEMUFile *f, void
> *opaque)
> >      migration_dirty_pages = ram_pages;
> >      mig_throttle_on = false;
> >      dirty_rate_high_cnt = 0;
> > +    migration_bitmap_sync_init();
> >
> >      if (migrate_use_xbzrle()) {
> >          qemu_mutex_lock_iothread();

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Qemu-devel] [PATCH] migration: static variables will not be reset at second migration
  2014-03-21 13:25 ` Juan Quintela
  2014-05-15 11:33   ` Gonglei (Arei)
@ 2014-06-24  6:23   ` Gonglei (Arei)
  2014-11-20 11:30     ` Paolo Bonzini
  1 sibling, 1 reply; 12+ messages in thread
From: Gonglei (Arei) @ 2014-06-24  6:23 UTC (permalink / raw)
  To: quintela@redhat.com
  Cc: chenliang (T), qemu-devel@nongnu.org, dgilbert@redhat.com,
	owasserm@redhat.com, pbonzini@redhat.com

> -----Original Message-----
> From: Juan Quintela [mailto:quintela@redhat.com]
> Sent: Friday, March 21, 2014 9:26 PM
> To: Gonglei (Arei)
> Cc: qemu-devel@nongnu.org; owasserm@redhat.com; pbonzini@redhat.com;
> eblake@redhat.com; dgilbert@redhat.com; chenliang (T)
> Subject: Re: [PATCH] migration: static variables will not be reset at second
> migration
> 
> <arei.gonglei@huawei.com> wrote:
> > From: ChenLiang <chenliang88@huawei.com>
> >
> > The static variables in migration_bitmap_sync will not be reset in
> > the case of a second attempted migration.
> >
> > Signed-off-by: ChenLiang <chenliang88@huawei.com>
> > Signed-off-by: Gonglei <arei.gonglei@huawei.com>
> 
> Good catch.  Applied..
> 

Hi, Juan? Ping... please :)

Best regards,
-Gonglei
> > ---
> >  arch_init.c | 15 ++++++++++++---
> >  1 file changed, 12 insertions(+), 3 deletions(-)
> >
> > diff --git a/arch_init.c b/arch_init.c
> > index 60c975d..10516cb 100644
> > --- a/arch_init.c
> > +++ b/arch_init.c
> > @@ -468,15 +468,23 @@ static void
> migration_bitmap_sync_range(ram_addr_t start, ram_addr_t length)
> >
> >
> >  /* Needs iothread lock! */
> > +/* Fix me: there are too many global variables used in migration process. */
> > +static int64_t start_time;
> > +static int64_t bytes_xfer_prev;
> > +static int64_t num_dirty_pages_period;
> > +
> > +static void migration_bitmap_sync_init(void)
> > +{
> > +    start_time = 0;
> > +    bytes_xfer_prev = 0;
> > +    num_dirty_pages_period = 0;
> > +}
> >
> >  static void migration_bitmap_sync(void)
> >  {
> >      RAMBlock *block;
> >      uint64_t num_dirty_pages_init = migration_dirty_pages;
> >      MigrationState *s = migrate_get_current();
> > -    static int64_t start_time;
> > -    static int64_t bytes_xfer_prev;
> > -    static int64_t num_dirty_pages_period;
> >      int64_t end_time;
> >      int64_t bytes_xfer_now;
> >
> > @@ -733,6 +741,7 @@ static int ram_save_setup(QEMUFile *f, void
> *opaque)
> >      migration_dirty_pages = ram_pages;
> >      mig_throttle_on = false;
> >      dirty_rate_high_cnt = 0;
> > +    migration_bitmap_sync_init();
> >
> >      if (migrate_use_xbzrle()) {
> >          qemu_mutex_lock_iothread();

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Qemu-devel] [PATCH] migration: static variables will not be reset at second migration
  2014-06-24  6:23   ` Gonglei (Arei)
@ 2014-11-20 11:30     ` Paolo Bonzini
  2014-11-20 11:39       ` Gonglei
  2014-11-20 12:31       ` Dr. David Alan Gilbert
  0 siblings, 2 replies; 12+ messages in thread
From: Paolo Bonzini @ 2014-11-20 11:30 UTC (permalink / raw)
  To: Gonglei (Arei), quintela@redhat.com
  Cc: chenliang (T), owasserm@redhat.com, qemu-devel@nongnu.org,
	dgilbert@redhat.com



On 24/06/2014 08:23, Gonglei (Arei) wrote:
>> -----Original Message-----
>> From: Juan Quintela [mailto:quintela@redhat.com]
>> Sent: Friday, March 21, 2014 9:26 PM
>> To: Gonglei (Arei)
>> Cc: qemu-devel@nongnu.org; owasserm@redhat.com; pbonzini@redhat.com;
>> eblake@redhat.com; dgilbert@redhat.com; chenliang (T)
>> Subject: Re: [PATCH] migration: static variables will not be reset at second
>> migration
>>
>> <arei.gonglei@huawei.com> wrote:
>>> From: ChenLiang <chenliang88@huawei.com>
>>>
>>> The static variables in migration_bitmap_sync will not be reset in
>>> the case of a second attempted migration.
>>>
>>> Signed-off-by: ChenLiang <chenliang88@huawei.com>
>>> Signed-off-by: Gonglei <arei.gonglei@huawei.com>
>>
>> Good catch.  Applied..
>>
> 
> Hi, Juan? Ping... please :)

Juan, what happened to this patch?

Paolo

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Qemu-devel] [PATCH] migration: static variables will not be reset at second migration
  2014-11-20 11:30     ` Paolo Bonzini
@ 2014-11-20 11:39       ` Gonglei
  2014-11-20 12:30         ` Amit Shah
  2014-11-20 12:31       ` Dr. David Alan Gilbert
  1 sibling, 1 reply; 12+ messages in thread
From: Gonglei @ 2014-11-20 11:39 UTC (permalink / raw)
  To: Paolo Bonzini
  Cc: chenliang (T), quintela@redhat.com, qemu-devel@nongnu.org,
	dgilbert@redhat.com, owasserm@redhat.com

On 2014/11/20 19:30, Paolo Bonzini wrote:

> 
> 
> On 24/06/2014 08:23, Gonglei (Arei) wrote:
>>> -----Original Message-----
>>> From: Juan Quintela [mailto:quintela@redhat.com]
>>> Sent: Friday, March 21, 2014 9:26 PM
>>> To: Gonglei (Arei)
>>> Cc: qemu-devel@nongnu.org; owasserm@redhat.com; pbonzini@redhat.com;
>>> eblake@redhat.com; dgilbert@redhat.com; chenliang (T)
>>> Subject: Re: [PATCH] migration: static variables will not be reset at second
>>> migration
>>>
>>> <arei.gonglei@huawei.com> wrote:
>>>> From: ChenLiang <chenliang88@huawei.com>
>>>>
>>>> The static variables in migration_bitmap_sync will not be reset in
>>>> the case of a second attempted migration.
>>>>
>>>> Signed-off-by: ChenLiang <chenliang88@huawei.com>
>>>> Signed-off-by: Gonglei <arei.gonglei@huawei.com>
>>>
>>> Good catch.  Applied..
>>>
>>
>> Hi, Juan? Ping... please :)
> 
> Juan, what happened to this patch?
> 
> Paolo

Nearly for half a year, I forgot it completely :(
Thanks for your prompt, Paolo.

Best regards,
-Gonglei

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Qemu-devel] [PATCH] migration: static variables will not be reset at second migration
  2014-11-20 11:39       ` Gonglei
@ 2014-11-20 12:30         ` Amit Shah
  2014-11-20 12:35           ` Dr. David Alan Gilbert
  0 siblings, 1 reply; 12+ messages in thread
From: Amit Shah @ 2014-11-20 12:30 UTC (permalink / raw)
  To: Gonglei
  Cc: chenliang (T), quintela@redhat.com, qemu-devel@nongnu.org,
	dgilbert@redhat.com, owasserm@redhat.com, Paolo Bonzini

On (Thu) 20 Nov 2014 [19:39:11], Gonglei wrote:
> >>>> The static variables in migration_bitmap_sync will not be reset in
> >>>> the case of a second attempted migration.
> >>>>
> >>>> Signed-off-by: ChenLiang <chenliang88@huawei.com>
> >>>> Signed-off-by: Gonglei <arei.gonglei@huawei.com>
> >>>
> >>> Good catch.  Applied..
> >>>
> >>
> >> Hi, Juan? Ping... please :)
> > 
> > Juan, what happened to this patch?
>
> Nearly for half a year, I forgot it completely :(
> Thanks for your prompt, Paolo.

Yeah; unfortunate.

I feel the patch could've been done in a better way, but since it's
been a while...

Paolo, Dave, can you please give me r-b and I'll pick it up for 2.2.

Thanks,

		Amit

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Qemu-devel] [PATCH] migration: static variables will not be reset at second migration
  2014-11-20 11:30     ` Paolo Bonzini
  2014-11-20 11:39       ` Gonglei
@ 2014-11-20 12:31       ` Dr. David Alan Gilbert
  1 sibling, 0 replies; 12+ messages in thread
From: Dr. David Alan Gilbert @ 2014-11-20 12:31 UTC (permalink / raw)
  To: Paolo Bonzini
  Cc: amit.shah, chenliang (T), Gonglei (Arei), qemu-devel@nongnu.org,
	quintela@redhat.com

* Paolo Bonzini (pbonzini@redhat.com) wrote:
> 
> 
> On 24/06/2014 08:23, Gonglei (Arei) wrote:
> >> -----Original Message-----
> >> From: Juan Quintela [mailto:quintela@redhat.com]
> >> Sent: Friday, March 21, 2014 9:26 PM
> >> To: Gonglei (Arei)
> >> Cc: qemu-devel@nongnu.org; owasserm@redhat.com; pbonzini@redhat.com;
> >> eblake@redhat.com; dgilbert@redhat.com; chenliang (T)
> >> Subject: Re: [PATCH] migration: static variables will not be reset at second
> >> migration
> >>
> >> <arei.gonglei@huawei.com> wrote:
> >>> From: ChenLiang <chenliang88@huawei.com>
> >>>
> >>> The static variables in migration_bitmap_sync will not be reset in
> >>> the case of a second attempted migration.
> >>>
> >>> Signed-off-by: ChenLiang <chenliang88@huawei.com>
> >>> Signed-off-by: Gonglei <arei.gonglei@huawei.com>
> >>
> >> Good catch.  Applied..
> >>
> > 
> > Hi, Juan? Ping... please :)
> 
> Juan, what happened to this patch?

I think we should put this in now; it's obvious it was intended
to go in.

Dave

> 
> Paolo
> 
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Qemu-devel] [PATCH] migration: static variables will not be reset at second migration
  2014-11-20 12:30         ` Amit Shah
@ 2014-11-20 12:35           ` Dr. David Alan Gilbert
  2014-11-20 13:00             ` Amit Shah
  0 siblings, 1 reply; 12+ messages in thread
From: Dr. David Alan Gilbert @ 2014-11-20 12:35 UTC (permalink / raw)
  To: Amit Shah
  Cc: chenliang (T), quintela@redhat.com, qemu-devel@nongnu.org,
	Gonglei, Paolo Bonzini

* Amit Shah (amit.shah@redhat.com) wrote:
> On (Thu) 20 Nov 2014 [19:39:11], Gonglei wrote:
> > >>>> The static variables in migration_bitmap_sync will not be reset in
> > >>>> the case of a second attempted migration.
> > >>>>
> > >>>> Signed-off-by: ChenLiang <chenliang88@huawei.com>
> > >>>> Signed-off-by: Gonglei <arei.gonglei@huawei.com>
> > >>>
> > >>> Good catch.  Applied..
> > >>>
> > >>
> > >> Hi, Juan? Ping... please :)
> > > 
> > > Juan, what happened to this patch?
> >
> > Nearly for half a year, I forgot it completely :(
> > Thanks for your prompt, Paolo.
> 
> Yeah; unfortunate.
> 
> I feel the patch could've been done in a better way, but since it's
> been a while...
> 
> Paolo, Dave, can you please give me r-b and I'll pick it up for 2.2.

Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>

Note that there are some more statics that have ended up in migration_bitmap_sync
since that patch landed, but still it would be good to get this fix going.

Dave

> 
> Thanks,
> 
> 		Amit
> 
--
Dr. David Alan Gilbert / dgilbert@redhat.com / Manchester, UK

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Qemu-devel] [PATCH] migration: static variables will not be reset at second migration
  2014-11-20 12:35           ` Dr. David Alan Gilbert
@ 2014-11-20 13:00             ` Amit Shah
  2014-11-20 13:05               ` Gonglei
  0 siblings, 1 reply; 12+ messages in thread
From: Amit Shah @ 2014-11-20 13:00 UTC (permalink / raw)
  To: Dr. David Alan Gilbert
  Cc: chenliang (T), Gonglei, qemu-devel@nongnu.org, Paolo Bonzini,
	quintela@redhat.com

On (Thu) 20 Nov 2014 [12:35:54], Dr. David Alan Gilbert wrote:
> * Amit Shah (amit.shah@redhat.com) wrote:
> > On (Thu) 20 Nov 2014 [19:39:11], Gonglei wrote:
> > > >>>> The static variables in migration_bitmap_sync will not be reset in
> > > >>>> the case of a second attempted migration.
> > > >>>>
> > > >>>> Signed-off-by: ChenLiang <chenliang88@huawei.com>
> > > >>>> Signed-off-by: Gonglei <arei.gonglei@huawei.com>
> > > >>>
> > > >>> Good catch.  Applied..
> > > >>>
> > > >>
> > > >> Hi, Juan? Ping... please :)
> > > > 
> > > > Juan, what happened to this patch?
> > >
> > > Nearly for half a year, I forgot it completely :(
> > > Thanks for your prompt, Paolo.
> > 
> > Yeah; unfortunate.
> > 
> > I feel the patch could've been done in a better way, but since it's
> > been a while...
> > 
> > Paolo, Dave, can you please give me r-b and I'll pick it up for 2.2.
> 
> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>

Thanks; pull req sent.

		Amit

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [Qemu-devel] [PATCH] migration: static variables will not be reset at second migration
  2014-11-20 13:00             ` Amit Shah
@ 2014-11-20 13:05               ` Gonglei
  0 siblings, 0 replies; 12+ messages in thread
From: Gonglei @ 2014-11-20 13:05 UTC (permalink / raw)
  To: Amit Shah
  Cc: qemu-devel@nongnu.org, chenliang (T), Paolo Bonzini,
	Dr. David Alan Gilbert, quintela@redhat.com

On 2014/11/20 21:00, Amit Shah wrote:

> On (Thu) 20 Nov 2014 [12:35:54], Dr. David Alan Gilbert wrote:
>> * Amit Shah (amit.shah@redhat.com) wrote:
>>> On (Thu) 20 Nov 2014 [19:39:11], Gonglei wrote:
>>>>>>>> The static variables in migration_bitmap_sync will not be reset in
>>>>>>>> the case of a second attempted migration.
>>>>>>>>
>>>>>>>> Signed-off-by: ChenLiang <chenliang88@huawei.com>
>>>>>>>> Signed-off-by: Gonglei <arei.gonglei@huawei.com>
>>>>>>>
>>>>>>> Good catch.  Applied..
>>>>>>>
>>>>>>
>>>>>> Hi, Juan? Ping... please :)
>>>>>
>>>>> Juan, what happened to this patch?
>>>>
>>>> Nearly for half a year, I forgot it completely :(
>>>> Thanks for your prompt, Paolo.
>>>
>>> Yeah; unfortunate.
>>>
>>> I feel the patch could've been done in a better way, but since it's
>>> been a while...
>>>
>>> Paolo, Dave, can you please give me r-b and I'll pick it up for 2.2.
>>
>> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
> 
> Thanks; pull req sent.
> 
> 		Amit

Thanks :)

Best regards,
-Gonglei

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2014-11-20 13:06 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-20 12:15 [Qemu-devel] [PATCH] migration: static variables will not be reset at second migration arei.gonglei
2014-03-21 13:25 ` Juan Quintela
2014-03-21 13:25 ` Juan Quintela
2014-05-15 11:33   ` Gonglei (Arei)
2014-06-24  6:23   ` Gonglei (Arei)
2014-11-20 11:30     ` Paolo Bonzini
2014-11-20 11:39       ` Gonglei
2014-11-20 12:30         ` Amit Shah
2014-11-20 12:35           ` Dr. David Alan Gilbert
2014-11-20 13:00             ` Amit Shah
2014-11-20 13:05               ` Gonglei
2014-11-20 12:31       ` Dr. David Alan Gilbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).