diff options
author | Lukas Straub <lukasstraub2@web.de> | 2019-10-24 16:25:35 +0200 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2020-03-03 18:04:47 +0800 |
commit | 08ddb4eb6d47d241257027751138001484c594b2 (patch) | |
tree | 4b651d94c636b8ded1c295a45a99a2951fbb6523 /docs/block-replication.txt | |
parent | dda8f1854b8efae1dd30b666e8358f9b2ed8ae48 (diff) | |
download | 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 'docs/block-replication.txt')
0 files changed, 0 insertions, 0 deletions