summaryrefslogtreecommitdiffstats
path: root/hw/riscv/sifive_uart.c
diff options
context:
space:
mode:
authorKevin Wolf2019-05-07 18:31:38 +0200
committerKevin Wolf2019-06-04 16:55:58 +0200
commit42a65f02f9b380bd8074882d5844d4ea033389cc (patch)
tree3586ecc8293dcdc4efbb9369829ca8a7c2fd45cc /hw/riscv/sifive_uart.c
parenttest-bdrv-drain: Use bdrv_try_set_aio_context() (diff)
downloadqemu-42a65f02f9b380bd8074882d5844d4ea033389cc.tar.gz
qemu-42a65f02f9b380bd8074882d5844d4ea033389cc.tar.xz
qemu-42a65f02f9b380bd8074882d5844d4ea033389cc.zip
block: Remove bdrv_set_aio_context()
All callers of bdrv_set_aio_context() are eliminated now, they have moved to bdrv_try_set_aio_context() and related safe functions. Remove bdrv_set_aio_context(). With this, we can now know that the .set_aio_ctx callback must be present in bdrv_set_aio_context_ignore() because bdrv_can_set_aio_context() would have returned false previously, so instead of checking the condition, we can assert it. Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/riscv/sifive_uart.c')
0 files changed, 0 insertions, 0 deletions