Re: [PATCH v2 1/5] migration: Set downtime_start even for postcopy

2023-10-31 Thread Juan Quintela
Peter Xu wrote: > Postcopy calculates its downtime separately. It always sets > MigrationState.downtime properly, but not MigrationState.downtime_start. > > Make postcopy do the same as other modes on properly recording the > timestamp when the VM is going to be stopped. Drop the temporary varia

[PATCH v2 1/5] migration: Set downtime_start even for postcopy

2023-10-30 Thread Peter Xu
Postcopy calculates its downtime separately. It always sets MigrationState.downtime properly, but not MigrationState.downtime_start. Make postcopy do the same as other modes on properly recording the timestamp when the VM is going to be stopped. Drop the temporary variable in postcopy_start() al