Re: [Qemu-devel] [PATCHv2] migration: move ram migration support

2013-03-07 Thread Michael S. Tsirkin
On Thu, Mar 07, 2013 at 04:20:48PM +0100, Paolo Bonzini wrote: > Il 07/03/2013 14:32, Michael S. Tsirkin ha scritto: > > +#ifdef DEBUG_ARCH_INIT > > +#define DPRINTF(fmt, ...) \ > > +do { fprintf(stdout, "arch_init: " fmt, ## __VA_ARGS__); } while (0) > > These need to be adjusted, but it can

Re: [Qemu-devel] [PATCHv2] migration: move ram migration support

2013-03-07 Thread Paolo Bonzini
Il 07/03/2013 14:32, Michael S. Tsirkin ha scritto: > Move RAM migration code from arch_init to savevm-ram. > > Signed-off-by: Michael S. Tsirkin > --- > > Note: this is on top of Juan's pull request > > Changes from v1: > - renamed source file, rebased on top of migration.next as > s

Re: [Qemu-devel] [PATCHv2] migration: move ram migration support

2013-03-07 Thread Paolo Bonzini
Il 07/03/2013 14:32, Michael S. Tsirkin ha scritto: > +#ifdef DEBUG_ARCH_INIT > +#define DPRINTF(fmt, ...) \ > +do { fprintf(stdout, "arch_init: " fmt, ## __VA_ARGS__); } while (0) These need to be adjusted, but it can be a follow-up. Paolo > +#else > +#define DPRINTF(fmt, ...) \ > +do {

[Qemu-devel] [PATCHv2] migration: move ram migration support

2013-03-07 Thread Michael S. Tsirkin
Move RAM migration code from arch_init to savevm-ram. Signed-off-by: Michael S. Tsirkin --- Note: this is on top of Juan's pull request Changes from v1: - renamed source file, rebased on top of migration.next as suggested by Paolo Makefile.target | 2 +- arch_init.c | 763