diff options
author | Lukas Straub | 2019-10-24 16:25:35 +0200 |
---|---|---|
committer | Jason Wang | 2020-03-03 11:04:47 +0100 |
commit | 08ddb4eb6d47d241257027751138001484c594b2 (patch) | |
tree | 4b651d94c636b8ded1c295a45a99a2951fbb6523 /linux-user/sparc/signal.c | |
parent | hw: net: cadence_gem: Fix build errors in DB_PRINT() (diff) | |
download | qemu-08ddb4eb6d47d241257027751138001484c594b2.tar.gz qemu-08ddb4eb6d47d241257027751138001484c594b2.tar.xz qemu-08ddb4eb6d47d241257027751138001484c594b2.zip |
block/replication.c: Ignore requests after failover
After failover the Secondary side of replication shouldn't change state, because
it now functions as our primary disk.
In replication_start, replication_do_checkpoint, replication_stop, ignore
the request if current state is BLOCK_REPLICATION_DONE (sucessful failover) or
BLOCK_REPLICATION_FAILOVER (failover in progres i.e. currently merging active
and hidden images into the base image).
Signed-off-by: Lukas Straub <lukasstraub2@web.de>
Reviewed-by: Zhang Chen <chen.zhang@intel.com>
Acked-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'linux-user/sparc/signal.c')
0 files changed, 0 insertions, 0 deletions