Skip to content
Commit 8ed7d42f authored by Kevin Wolf's avatar Kevin Wolf
Browse files

blockdev: Use bdrv_try_set_aio_context() for monitor commands



Monitor commands can handle errors, so they can easily be converted to
using the safer bdrv_try_set_aio_context() function.

Signed-off-by: default avatarKevin Wolf <kwolf@redhat.com>
parent ad943dcb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment