« Previous | Next » 

Revision 40596834

ID40596834c0d57a223124a956ccbe39dfeadc9f0e

Added by Matthew Garrett over 10 years ago

migration: Fix rate limit

The migration thread appears to want to allow writeout to occur at full
speed rather than being rate limited during completion of state saving,
but sets the limit to INT_MAX when xfer_limit is INT64_MAX. This causes
problems if there's more than 2GB of state left to save at this point. It
probably ought to just be INT64_MAX instead.

Signed-off-by: Matthew Garrett <>
Reviewed-by: Paolo Bonzini <>
Signed-off-by: Juan Quintela <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences