aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2017-12-12 19:04:28 +0100
committerKevin Wolf <kwolf@redhat.com>2017-12-22 15:05:32 +0100
commitad90febaf22d95e49fb6821bfb3ebd05b4919417 (patch)
treed0a571e02956d9b75b25f8a7d6964b88fcae0616 /tests
parent89a6ceab4617fefa5ace6a46be3e2be58925ae71 (diff)
downloadqemu-ad90febaf22d95e49fb6821bfb3ebd05b4919417.zip
qemu-ad90febaf22d95e49fb6821bfb3ebd05b4919417.tar.gz
qemu-ad90febaf22d95e49fb6821bfb3ebd05b4919417.tar.bz2
blockjob: Pause job on draining any job BDS
Block jobs already paused themselves when their main BlockBackend entered a drained section. This is not good enough: We also want to pause a block job and may not submit new requests if, for example, the mirror target node should be drained. This implements .drained_begin/end callbacks in child_job in order to consider all block nodes related to the job, and removes the BlockBackend callbacks which are unnecessary now because the root of the job main BlockBackend is always referenced with a child_job, too. Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions