Wei Yang <richardw.y...@linux.intel.com> wrote: > During migration, there are several places to iterate on > savevm.handlers. And on each iteration, we need to check its ops and > related callbacks before invoke it. > > Generally, ops is the first element to check, and it is only necessary > to check it once. > > This patch clean all the related part in savevm.c to check ops only once > in those iterations. > > Signed-off-by: Wei Yang <richardw.y...@linux.intel.com>
Reviewed-by: Juan Quintela <quint...@redhat.com> Nice cleanup.