qemu-e2k/include/qemu
Paolo Bonzini 52e850dea9 block-migration: add lock
Some state is shared between the block migration code and its AIO
callbacks.  Once block migration will run outside the iothread,
the block migration code and the AIO callbacks will be able to
run concurrently.  Protect the critical sections with a separate
lock.  Do the same for completed_sectors, which can be used from
the monitor.

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>
2013-03-11 13:32:01 +01:00
..
acl.h
atomic.h block-migration: add lock 2013-03-11 13:32:01 +01:00
bitmap.h
bitops.h bitops: Remove routines redundant with host-utils 2013-02-16 11:12:52 +00:00
bswap.h bswap: Fix width of swap in leul_to_cpu 2013-02-06 08:29:21 -06:00
cache-utils.h
compatfd.h
compiler.h
config-file.h
envlist.h
error-report.h
event_notifier.h
fifo8.h hw: move fifo.[ch] to libqemuutil 2013-03-01 13:53:10 +01:00
hbitmap.h hbitmap: Use non-bitops ctzl 2013-02-16 11:11:34 +00:00
host-utils.h host-utils: Use __int128_t for mul[us]64 2013-02-17 14:28:57 +00:00
int128.h
iov.h
log.h qemu-log: default to stderr for logging output 2013-02-26 13:31:47 -06:00
main-loop.h iohandler: switch to GPollFD 2013-02-21 16:17:31 -06:00
module.h
notify.h
option_int.h
option.h
osdep.h
queue.h
range.h
ratelimit.h
rng-random.h
rng.h
sockets.h move socket_set_nodelay to osdep.c 2013-03-04 09:54:17 +01:00
thread-posix.h
thread-win32.h
thread.h
timer.h
tls.h
typedefs.h
uri.h
xattr.h