Home
last modified time | relevance | path

Searched hist:"0513 f9841f14b918bd7aa7f1c8fb0ac3b0f6dea0" (Results 1 – 1 of 1) sorted by relevance

/qemu/tests/unit/
H A Dtest-bdrv-drain.c0513f9841f14b918bd7aa7f1c8fb0ac3b0f6dea0 Mon Jul 22 13:33:46 UTC 2019 Max Reitz <mreitz@redhat.com> 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>