« Previous | Next » 

Revision f4410a5d

IDf4410a5d9926886c36d9fa9fdd969d0469d62724

Added by Paolo Bonzini about 11 years ago

migration: prepare to access s->state outside critical sections

Accessing s->state outside the big QEMU lock will simplify a bit the
locking/unlocking of the iothread lock.

We need to keep the lock in migrate_fd_error and migrate_fd_completed,
however, because they call migrate_fd_cleanup.

Reviewed-by: Orit Wasserman <>
Reviewed-by: Juan Quintela <>
Signed-off-by: Paolo Bonzini <>
Signed-off-by: Juan Quintela <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences