* David Gibson (da...@gibson.dropbear.id.au) wrote:
> On Wed, Nov 19, 2014 at 05:50:11PM +, Dr. David Alan Gilbert wrote:
> > * David Gibson (da...@gibson.dropbear.id.au) wrote:
> > > On Fri, Oct 03, 2014 at 06:47:25PM +0100, Dr. David Alan Gilbert (git)
> > > wrote:
> > > > From: "Dr. David A
On Wed, Nov 19, 2014 at 05:50:11PM +, Dr. David Alan Gilbert wrote:
> * David Gibson (da...@gibson.dropbear.id.au) wrote:
> > On Fri, Oct 03, 2014 at 06:47:25PM +0100, Dr. David Alan Gilbert (git)
> > wrote:
> > > From: "Dr. David Alan Gilbert"
> > >
> > > Postcopy needs to have two migratio
* David Gibson (da...@gibson.dropbear.id.au) wrote:
> On Fri, Oct 03, 2014 at 06:47:25PM +0100, Dr. David Alan Gilbert (git) wrote:
> > From: "Dr. David Alan Gilbert"
> >
> > Postcopy needs to have two migration streams loading concurrently;
> > one from memory (with the device state) and the oth
On Fri, Oct 03, 2014 at 06:47:25PM +0100, Dr. David Alan Gilbert (git) wrote:
> From: "Dr. David Alan Gilbert"
>
> Postcopy needs to have two migration streams loading concurrently;
> one from memory (with the device state) and the other from the fd
> with the memory transactions.
>
> Split the
* Paolo Bonzini (pbonz...@redhat.com) wrote:
> Il 07/10/2014 10:58, Dr. David Alan Gilbert ha scritto:
> >
> >>> > > +if (exitcode & LOADVM_EXITCODE_QUITPARENT) {
> >>> > > +DPRINTF("loadvm_handlers_state_main: End of loop with
> >>> > > QUITPARENT");
> >>> > > +exitcode &= ~L
Il 07/10/2014 10:58, Dr. David Alan Gilbert ha scritto:
>
>>> > > +if (exitcode & LOADVM_EXITCODE_QUITPARENT) {
>>> > > +DPRINTF("loadvm_handlers_state_main: End of loop with
>>> > > QUITPARENT");
>>> > > +exitcode &= ~LOADVM_EXITCODE_QUITPARENT;
>>> > > +exitcode &= L
* Paolo Bonzini (pbonz...@redhat.com) wrote:
> Il 03/10/2014 19:47, Dr. David Alan Gilbert (git) ha scritto:
> >
> > +/* These are ORable flags */
>
> ... make them an "enum".
OK, will do - I'd generally tended to avoid using enum for things
that were ORable where the combinations weren't thems
Il 03/10/2014 19:47, Dr. David Alan Gilbert (git) ha scritto:
>
> +/* These are ORable flags */
... make them an "enum".
> +const int LOADVM_EXITCODE_QUITLOOP = 1;
> +const int LOADVM_EXITCODE_QUITPARENT = 2;
LOADVM_QUIT_ALL, LOADVM_QUIT respectively?
> +const int LOADVM_EXITCODE_KEEP
From: "Dr. David Alan Gilbert"
Postcopy needs to have two migration streams loading concurrently;
one from memory (with the device state) and the other from the fd
with the memory transactions.
Split the core of qemu_loadvm_state out so we can use it for both.
Allow the inner loadvm loop to qui