summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy2021-06-10 14:05:34 +0200
committerKevin Wolf2021-06-29 16:51:00 +0200
commit25f78d9e2de528473d52acfcf7acdfb64e3453d4 (patch)
tree5b18569841ab6c46634f2c9a2411db53bda8c85c /include
parentblock: bdrv_reopen_parse_backing(): simplify handling implicit filters (diff)
downloadqemu-25f78d9e2de528473d52acfcf7acdfb64e3453d4.tar.gz
qemu-25f78d9e2de528473d52acfcf7acdfb64e3453d4.tar.xz
qemu-25f78d9e2de528473d52acfcf7acdfb64e3453d4.zip
block: move supports_backing check to bdrv_set_file_or_backing_noperm()
Move supports_backing check of bdrv_reopen_parse_backing to called (through bdrv_set_backing_noperm()) bdrv_set_file_or_backing_noperm() function. The check applies to general case, so it's appropriate for bdrv_set_file_or_backing_noperm(). We have to declare backing support for two test drivers, otherwise new check fails. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Message-Id: <20210610120537.196183-7-vsementsov@virtuozzo.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions