]> git.proxmox.com Git - mirror_qemu.git/commit
block: Add blk_set_allow_aio_context_change()
authorKevin Wolf <kwolf@redhat.com>
Mon, 6 May 2019 17:18:02 +0000 (19:18 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 20 May 2019 15:08:56 +0000 (17:08 +0200)
commit980b0f943aad9240f276d7e48e2cf92ae4eb61ca
tree2514fc8e267e82cfc81e8f3c9ffa1923b1cf2f8c
parent38475269d4d9efcc5f1a5aae4834d165248ea13d
block: Add blk_set_allow_aio_context_change()

Some users (like block jobs) can tolerate an AioContext change for their
BlockBackend. Add a function that tells the BlockBackend that it can
allow changes.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/block-backend.c
include/sysemu/block-backend.h