migration: remove not used field xfer_limit
Quoted 12 lines · * Wei Yang ([email protected]) wrote:
Quoted 10 lines · Dr. David Alan Gilbert
Quoted 5 lines · * Wei Yang ([email protected]) wrote:
MigrationState->xfer_limitis only set to 0 inmigrate_init().Remove this unnecessary field.
Signed-off-by Wei Yang <[email protected]>Nice; I think that field has been unneeded since
1964a397063967just over 5 years ago :-)
Quoted 6 lines
Hi, David,
I found
xfer_limithas an orphan brother,bytes_xfer.Do you want me to send a separate patch or spin v2 to adopt these two together?
Either is fine; since we're in 4.0 freeze at the moment, either way it
wont get merged for a few weeks.
Dave
Quoted 26 lines
Quoted 26 lines
Reviewed-by Dr. David Alan Gilbert <[email protected]>Quoted 23 lines
--- migration/migration.c | 1 - migration/migration.h | 1 - 2 files changed, 2 deletions(-)migration/migration.c +0
-1@@ -1682,7 +1682,6 @@ void migrate_init(MigrationState *s)* locks. */ s->bytes_xfer =0 ; - s->xfer_limit =0 ; s->cleanup_bh =0 ; s->to_dst_file =NULL ; s->rp_state.from_dst_file =NULL ;migration/migration.h +0
-0@@ -117,7 +117,6 @@ struct MigrationState
Quoted 15 lines
Quoted 11 lines
Quoted 9 lines
migration/migration.h +0
-1/*< public >*/ size_t bytes_xfer; -size_t xfer_limit;QemuThread thread;QEMUBH *cleanup_bh;QEMUFile *to_dst_file;Signature · 1 line
2.19.1--
Dr. David Alan Gilbert / [email protected] / Manchester, UKSignature · 2 lines
Wei Yang Help you, Help me
--
Dr. David Alan Gilbert / [email protected] / Manchester, UK
Quoted 15 lines · Dr. David Alan Gilbert
Quoted 14 lines · * Wei Yang ([email protected]) wrote:
Quoted 10 lines · Dr. David Alan Gilbert
Quoted 5 lines · * Wei Yang ([email protected]) wrote:
MigrationState->xfer_limitis only set to 0 inmigrate_init().Remove this unnecessary field.
Signed-off-by Wei Yang <[email protected]>Nice; I think that field has been unneeded since
1964a397063967just over 5 years ago :-)Hi, David,
Quoted 8 lines
Quoted 4 lines
I found
xfer_limithas an orphan brother,bytes_xfer.Do you want me to send a separate patch or spin v2 to adopt these two together?
Either is fine; since we're in 4.0 freeze at the moment, either way it
wont get merged for a few weeks.
Got it, thanks :-)
Quoted 1 line
Dave
Signature · 2 lines
Wei Yang Help you, Help me
Quoted 5 lines · * Dr. David Alan Gilbert ([email protected]) wrote:
Quoted 4 lines · * Wei Yang ([email protected]) wrote:
MigrationState->xfer_limitis only set to 0 inmigrate_init().Remove this unnecessary field.
Quoted 7 lines
Quoted 1 line
Signed-off-by Wei Yang <[email protected]>Nice; I think that field has been unneeded since
1964a397063967just over 5 years ago :-)Reviewed-by Dr. David Alan Gilbert <[email protected]>
Queued
Quoted 24 lines
Quoted 24 lines
--- migration/migration.c | 1 - migration/migration.h | 1 - 2 files changed, 2 deletions(-)migration/migration.c +0
-1@@ -1682,7 +1682,6 @@ void migrate_init(MigrationState *s)* locks. */ s->bytes_xfer =0 ; - s->xfer_limit =0 ; s->cleanup_bh =0 ; s->to_dst_file =NULL ; s->rp_state.from_dst_file =NULL ;migration/migration.h +0
-0@@ -117,7 +117,6 @@ struct MigrationState
Quoted 12 lines
Quoted 9 lines
migration/migration.h +0
-1/*< public >*/ size_t bytes_xfer; -size_t xfer_limit;QemuThread thread;QEMUBH *cleanup_bh;QEMUFile *to_dst_file;Signature · 1 line
2.19.1--
Dr. David Alan Gilbert / [email protected] / Manchester, UK
--
Dr. David Alan Gilbert / [email protected] / Manchester, UK