summaryrefslogtreecommitdiffstats
path: root/block/commit.c
diff options
context:
space:
mode:
authorMax Reitz2019-07-22 15:33:46 +0200
committerKevin Wolf2019-08-16 10:25:16 +0200
commit0513f9841f14b918bd7aa7f1c8fb0ac3b0f6dea0 (patch)
tree2c6ef3f4f31be88f1ab734a65c6dae79e23a13cf /block/commit.c
parenttests: Test polling in bdrv_drop_intermediate() (diff)
downloadqemu-0513f9841f14b918bd7aa7f1c8fb0ac3b0f6dea0.tar.gz
qemu-0513f9841f14b918bd7aa7f1c8fb0ac3b0f6dea0.tar.xz
qemu-0513f9841f14b918bd7aa7f1c8fb0ac3b0f6dea0.zip
tests: Test mid-drain bdrv_replace_child_noperm()
Add a test for what happens when you call bdrv_replace_child_noperm() for various drain situations ({old,new} child {drained,not drained}). Most importantly, if both the old and the new child are drained, the parent must not be undrained at any point. Signed-off-by: Max Reitz <mreitz@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/commit.c')
0 files changed, 0 insertions, 0 deletions