Re: [Qemu-devel] [PATCH v3 3/5] migration: Create load_setup()/cleanup() methods

2017-06-28 Thread Juan Quintela
"Dr. David Alan Gilbert" wrote: > * Juan Quintela (quint...@redhat.com) wrote: >> We need to do things at load time and at cleanup time. >> >> Signed-off-by: Juan Quintela >> >> >> +qemu_loadvm_state_cleanup(); > > Where does the equivalent happen for postcopy? > Do you need to add a cal

Re: [Qemu-devel] [PATCH v3 3/5] migration: Create load_setup()/cleanup() methods

2017-06-22 Thread Dr. David Alan Gilbert
* Juan Quintela (quint...@redhat.com) wrote: > We need to do things at load time and at cleanup time. > > Signed-off-by: Juan Quintela > > -- > > Move the printing of the error message so we can print the device > giving the error. > --- > include/migration/register.h | 2 ++ > migration/save

[Qemu-devel] [PATCH v3 3/5] migration: Create load_setup()/cleanup() methods

2017-06-21 Thread Juan Quintela
We need to do things at load time and at cleanup time. Signed-off-by: Juan Quintela -- Move the printing of the error message so we can print the device giving the error. --- include/migration/register.h | 2 ++ migration/savevm.c | 44 m