mirror of https://github.com/xemu-project/xemu.git
migration: Make threshold_size an uint64_t
It's always used to compare against another uint64_t. Make it always clear that it's never a negative. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Fabiano Rosas <farosas@suse.de> Link: https://lore.kernel.org/r/20240117075848.139045-2-peterx@redhat.com Signed-off-by: Peter Xu <peterx@redhat.com>
This commit is contained in:
parent
918f620d30
commit
a8629e0c2f
|
@ -296,7 +296,7 @@ struct MigrationState {
|
|||
* this threshold; it's calculated from the requested downtime and
|
||||
* measured bandwidth, or avail-switchover-bandwidth if specified.
|
||||
*/
|
||||
int64_t threshold_size;
|
||||
uint64_t threshold_size;
|
||||
|
||||
/* params from 'migrate-set-parameters' */
|
||||
MigrationParameters parameters;
|
||||
|
|
Loading…
Reference in New Issue