]> Git Repo - qemu.git/commit
tests: Test mid-drain bdrv_replace_child_noperm()
authorMax Reitz <[email protected]>
Mon, 22 Jul 2019 13:33:46 +0000 (15:33 +0200)
committerKevin Wolf <[email protected]>
Fri, 16 Aug 2019 08:25:16 +0000 (10:25 +0200)
commit0513f9841f14b918bd7aa7f1c8fb0ac3b0f6dea0
tree2c6ef3f4f31be88f1ab734a65c6dae79e23a13cf
parent9746b35cf3c1a60cf569d8caa434aa1ee919e63f
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 <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
tests/test-bdrv-drain.c
This page took 0.027872 seconds and 4 git commands to generate.