]> git.proxmox.com Git - mirror_qemu.git/commit - target/i386/kvm.c
migration: disallow migrate_add_blocker during migration
authorAshijeet Acharya <ashijeetacharya@gmail.com>
Mon, 16 Jan 2017 11:31:53 +0000 (17:01 +0530)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Tue, 24 Jan 2017 18:00:30 +0000 (18:00 +0000)
commitfe44dc91807eca59d0230fe828c1e2ee0c305a1e
treeecbc1e1fd3a3052910eff44f0f6e8a84b626b199
parenta3a3d8c73889282eb696535f1b5345d88b4dc58c
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
18 files changed:
block/qcow.c
block/vdi.c
block/vhdx.c
block/vmdk.c
block/vpc.c
block/vvfat.c
hw/9pfs/9p.c
hw/display/virtio-gpu.c
hw/intc/arm_gic_kvm.c
hw/intc/arm_gicv3_its_kvm.c
hw/intc/arm_gicv3_kvm.c
hw/misc/ivshmem.c
hw/scsi/vhost-scsi.c
hw/virtio/vhost.c
include/migration/migration.h
migration/migration.c
stubs/migr-blocker.c
target/i386/kvm.c