diff options
author | Wei Yang <richardw.yang@linux.intel.com> | 2019-08-19 11:28:04 +0800 |
---|---|---|
committer | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2019-09-12 10:55:23 +0100 |
commit | cea3b4c083d26d3114cd2881af46efb52cff6c81 (patch) | |
tree | e9a263436800e805801d031dc0756082e4313bfa /migration/block-dirty-bitmap.c | |
parent | 2f4aefd320a8c3aeb739d59724c5c4dd6a995919 (diff) |
migration: cleanup check on ops in savevm.handlers iterations
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.yang@linux.intel.com>
Message-Id: <20190819032804.8579-1-richardw.yang@linux.intel.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'migration/block-dirty-bitmap.c')
0 files changed, 0 insertions, 0 deletions