Re: [Qemu-devel] [PATCH v4 47/47] End of migration for postcopy

2014-10-23 Thread Dr. David Alan Gilbert
* Paolo Bonzini (pbonz...@redhat.com) wrote: > Il 03/10/2014 19:47, Dr. David Alan Gilbert (git) ha scritto: > > +mis->postcopy_ram_state); > > +if (mis->postcopy_ram_state == POSTCOPY_RAM_INCOMING_ADVISE) { > > +/* > > + * Where a migration had postcopy enabled (and

Re: [Qemu-devel] [PATCH v4 47/47] End of migration for postcopy

2014-10-07 Thread Paolo Bonzini
Il 07/10/2014 12:29, Dr. David Alan Gilbert ha scritto: > You mean something like this (untested) ? > > if (mis->postcopy_ram_state != POSTCOPY_RAM_INCOMING_NONE) { > if (mis->postcopy_ram_state == POSTCOPY_RAM_INCOMING_ADVISE) { > /* >* Where a migration had postcopy

Re: [Qemu-devel] [PATCH v4 47/47] End of migration for postcopy

2014-10-07 Thread Dr. David Alan Gilbert
* Paolo Bonzini (pbonz...@redhat.com) wrote: > Il 03/10/2014 19:47, Dr. David Alan Gilbert (git) ha scritto: > > +mis->postcopy_ram_state); > > +if (mis->postcopy_ram_state == POSTCOPY_RAM_INCOMING_ADVISE) { > > +/* > > + * Where a migration had postcopy enabled (and

Re: [Qemu-devel] [PATCH v4 47/47] End of migration for postcopy

2014-10-04 Thread Paolo Bonzini
Il 03/10/2014 19:47, Dr. David Alan Gilbert (git) ha scritto: > +mis->postcopy_ram_state); > +if (mis->postcopy_ram_state == POSTCOPY_RAM_INCOMING_ADVISE) { > +/* > + * Where a migration had postcopy enabled (and thus went to advise) > + * but managed to comp

Re: [Qemu-devel] [PATCH v4 47/47] End of migration for postcopy

2014-10-04 Thread Paolo Bonzini
Il 03/10/2014 19:47, Dr. David Alan Gilbert (git) ha scritto: > +mis->postcopy_ram_state); > +if (mis->postcopy_ram_state == POSTCOPY_RAM_INCOMING_ADVISE) { > +/* > + * Where a migration had postcopy enabled (and thus went to advise) > + * but managed to comp

[Qemu-devel] [PATCH v4 47/47] End of migration for postcopy

2014-10-03 Thread Dr. David Alan Gilbert (git)
From: "Dr. David Alan Gilbert" Tweak the end of migration cleanup; we don't want to close stuff down at the end of the main stream, since the postcopy is still sending pages on the other thread. Signed-off-by: Dr. David Alan Gilbert --- migration.c | 23 ++- 1 file changed,