diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2013-02-22 17:36:20 +0100 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2013-03-11 13:32:01 +0100 |
commit | f4410a5d9926886c36d9fa9fdd969d0469d62724 (patch) | |
tree | 00d009c49ee97694ba4573a5a6658e63b8866629 /include | |
parent | c09e5bb1d88ef38986bac7c6ed59dbd732cc4771 (diff) | |
download | qemu-f4410a5d9926886c36d9fa9fdd969d0469d62724.zip qemu-f4410a5d9926886c36d9fa9fdd969d0469d62724.tar.gz qemu-f4410a5d9926886c36d9fa9fdd969d0469d62724.tar.bz2 |
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 <owasserm@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions