* Juan Quintela (quint...@redhat.com) wrote: > "Dr. David Alan Gilbert (git)" <dgilb...@redhat.com> wrote: > G> From: "Dr. David Alan Gilbert" <dgilb...@redhat.com> > > > > 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 <dgilb...@redhat.com> > > Thanks, Juan. > -- Dr. David Alan Gilbert / dgilb...@redhat.com / Manchester, UK