aboutsummaryrefslogtreecommitdiff
path: root/block/mirror.c
diff options
context:
space:
mode:
authorMax Reitz <mreitz@redhat.com>2020-05-13 13:05:11 +0200
committerKevin Wolf <kwolf@redhat.com>2020-05-18 19:05:25 +0200
commit6540fd153ca9d4cff31b1cc3f5ced271eca9296c (patch)
treea9151f2a2c342c6adf85a2060e54f5b978d55c7b /block/mirror.c
parentf844ec01b36797e0e5f31f56bfbe49f8c24cc7d4 (diff)
downloadqemu-6540fd153ca9d4cff31b1cc3f5ced271eca9296c.zip
qemu-6540fd153ca9d4cff31b1cc3f5ced271eca9296c.tar.gz
qemu-6540fd153ca9d4cff31b1cc3f5ced271eca9296c.tar.bz2
block: Mark commit, mirror, blkreplay as filters
The commit, mirror, and blkreplay block nodes are filters, so they should be marked as such. Signed-off-by: Max Reitz <mreitz@redhat.com> Message-Id: <20200513110544.176672-2-mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/mirror.c')
-rw-r--r--block/mirror.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/block/mirror.c b/block/mirror.c
index 201ffa2..55e9926 100644
--- a/block/mirror.c
+++ b/block/mirror.c
@@ -1530,6 +1530,8 @@ static BlockDriver bdrv_mirror_top = {
.bdrv_co_block_status = bdrv_co_block_status_from_backing,
.bdrv_refresh_filename = bdrv_mirror_top_refresh_filename,
.bdrv_child_perm = bdrv_mirror_top_child_perm,
+
+ .is_filter = true,
};
static BlockJob *mirror_start_job(