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 /spice-qemu-char.c | |
parent | c09e5bb1d88ef38986bac7c6ed59dbd732cc4771 (diff) |
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 'spice-qemu-char.c')
0 files changed, 0 insertions, 0 deletions