diff options
| author | Kevin Wolf <kwolf@redhat.com> | 2019-05-24 10:41:34 +0200 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2019-06-04 15:22:22 +0200 |
| commit | 45e92a9011bff4f6660dae1e011083c5790d121b (patch) | |
| tree | 6ebb02a0a6f72535f95f9c356fdd2ec7224e34ae /hw/core/qdev-properties-system.c | |
| parent | 087ba459a222cb022ce79110eebef190b8ec854a (diff) | |
| download | focaccia-qemu-45e92a9011bff4f6660dae1e011083c5790d121b.tar.gz focaccia-qemu-45e92a9011bff4f6660dae1e011083c5790d121b.zip | |
nbd-server: Call blk_set_allow_aio_context_change()
The NBD server uses an AioContext notifier, so it can tolerate that its BlockBackend is switched to a different AioContext. Before we start actually calling bdrv_try_set_aio_context(), which checks for consistency, outside of test cases, we need to make sure that the NBD server actually allows this. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'hw/core/qdev-properties-system.c')
0 files changed, 0 insertions, 0 deletions