[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/3] Start moving migration code into a migratio
From: |
Dr. David Alan Gilbert |
Subject: |
Re: [Qemu-devel] [PATCH 1/3] Start moving migration code into a migration directory |
Date: |
Thu, 16 Oct 2014 09:12:32 +0100 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
* Juan Quintela (address@hidden) wrote:
> "Dr. David Alan Gilbert (git)" <address@hidden> wrote:
> G> From: "Dr. David Alan Gilbert" <address@hidden>
> >
> > The migration code now occupies a fair chunk of the top level .c
> > files, it seems time to give it it's own directory.
> >
> > I've not touched:
> > arch_init.c - that's mostly RAM migration but has a few random other
> > bits
>
> Will split the memory bits, and can go to migration.
>
> > savevm.c - because it's built target specific
>
> Damn, would have to look at it.
Yes; I suspect it's the vmstate_register_ram that uses TARGET_PAGE_MASK,
one of the patches in my postcopy world adds a function in exec.c that
returns TARGET_PAGE_BITS so that stuff that needs to know target page size
can make a call to find it out; that might solve that.
Dave
>
> > block-migration.c - should that go in block/ or migration/ ?
>
> It is really on migration. we have basically:
>
> - ram-migration
> - block-migration
>
> We can call other names if people preffer.
>
> >
> > This is purely a code move; no code has changed.
> >
> > Signed-off-by: Dr. David Alan Gilbert <address@hidden>
>
> Thanks, Juan.
>
--
Dr. David Alan Gilbert / address@hidden / Manchester, UK