qemu-e2k/block
Ashijeet Acharya fe44dc9180 migration: disallow migrate_add_blocker during migration
If a migration is already in progress and somebody attempts
to add a migration blocker, this should rightly fail.

Add an errp parameter and a retcode return value to migrate_add_blocker.

Signed-off-by: John Snow <jsnow@redhat.com>
Signed-off-by: Ashijeet Acharya <ashijeetacharya@gmail.com>
Message-Id: <1484566314-3987-5-git-send-email-ashijeetacharya@gmail.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Acked-by: Greg Kurz <groug@kaod.org>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
  Merged with recent 'Allow invtsc migration' change
2017-01-24 18:00:30 +00:00
..
accounting.c
archipelago.c
backup.c blockjob: refactor backup_start as backup_job_create 2016-11-14 22:47:34 -05:00
blkdebug.c blkdebug: Implement bdrv_co_preadv/pwritev/flush 2017-01-09 13:30:52 +01:00
blkreplay.c
blkverify.c blkverify: Implement bdrv_co_preadv/pwritev/flush 2017-01-09 13:30:52 +01:00
block-backend.c
bochs.c
cloop.c
commit.c
crypto.c
curl.c aio: add AioPollFn and io_poll() interface 2017-01-03 16:38:48 +00:00
dirty-bitmap.c
dmg-bz2.c
dmg.c
dmg.h
file-posix.c block: Rename raw-{posix,win32} to file-*.c 2017-01-09 13:30:53 +01:00
file-win32.c block: Rename raw-{posix,win32} to file-*.c 2017-01-09 13:30:53 +01:00
gluster.c block: Rename raw-{posix,win32} to file-*.c 2017-01-09 13:30:53 +01:00
io.c block: get rid of bdrv_io_unplugged_begin/end 2017-01-16 13:25:17 +00:00
iscsi.c aio: add AioPollFn and io_poll() interface 2017-01-03 16:38:48 +00:00
linux-aio.c linux-aio: poll ring for completions 2017-01-03 16:38:48 +00:00
Makefile.objs block: Rename raw-{posix,win32} to file-*.c 2017-01-09 13:30:53 +01:00
mirror.c mirror: do not flush every time the disks are synced 2016-11-14 22:49:26 -05:00
nbd-client.c aio: add AioPollFn and io_poll() interface 2017-01-03 16:38:48 +00:00
nbd-client.h
nbd.c
nfs.c aio: add AioPollFn and io_poll() interface 2017-01-03 16:38:48 +00:00
null.c
parallels.c
qapi.c
qcow2-cache.c qcow2: Remove stale comment 2016-11-25 13:51:30 +01:00
qcow2-cluster.c
qcow2-refcount.c
qcow2-snapshot.c
qcow2.c qcow2: Don't strand clusters near 2G intervals during commit 2016-12-06 15:37:02 +01:00
qcow2.h
qcow.c migration: disallow migrate_add_blocker during migration 2017-01-24 18:00:30 +00:00
qed-check.c
qed-cluster.c
qed-gencb.c
qed-l2-cache.c
qed-table.c
qed.c
qed.h
quorum.c quorum: Clean up quorum_aio_get() 2017-01-09 13:30:52 +01:00
raw-format.c block: Rename raw_bsd to raw-format.c 2017-01-09 13:30:52 +01:00
rbd.c
replication.c blockjob: refactor backup_start as backup_job_create 2016-11-14 22:47:34 -05:00
sheepdog.c aio: add AioPollFn and io_poll() interface 2017-01-03 16:38:48 +00:00
snapshot.c
ssh.c aio: add AioPollFn and io_poll() interface 2017-01-03 16:38:48 +00:00
stream.c
throttle-groups.c
trace-events block: Rename raw-{posix,win32} to file-*.c 2017-01-09 13:30:53 +01:00
vdi.c migration: disallow migrate_add_blocker during migration 2017-01-24 18:00:30 +00:00
vhdx-endian.c
vhdx-log.c
vhdx.c migration: disallow migrate_add_blocker during migration 2017-01-24 18:00:30 +00:00
vhdx.h
vmdk.c migration: disallow migrate_add_blocker during migration 2017-01-24 18:00:30 +00:00
vpc.c migration: disallow migrate_add_blocker during migration 2017-01-24 18:00:30 +00:00
vvfat.c migration: disallow migrate_add_blocker during migration 2017-01-24 18:00:30 +00:00
win32-aio.c aio: add AioPollFn and io_poll() interface 2017-01-03 16:38:48 +00:00
write-threshold.c