diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2023-05-16 15:02:30 -0400 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2023-05-30 17:32:02 +0200 |
commit | fb5cba2c7ee34d3c44e87374f307ebec5673cfe0 (patch) | |
tree | 35cd40bbae930e95fe626365ec01735d480718bb /block | |
parent | f6eac904f6825d47adc6102c8d7b59b8ba5b778e (diff) | |
download | qemu-fb5cba2c7ee34d3c44e87374f307ebec5673cfe0.zip qemu-fb5cba2c7ee34d3c44e87374f307ebec5673cfe0.tar.gz qemu-fb5cba2c7ee34d3c44e87374f307ebec5673cfe0.tar.bz2 |
hw/xen: do not set is_external=true on evtchn fds
is_external=true suspends fd handlers between aio_disable_external() and
aio_enable_external(). The block layer's drain operation uses this
mechanism to prevent new I/O from sneaking in between
bdrv_drained_begin() and bdrv_drained_end().
The previous commit converted the xen-block device to use BlockDevOps
.drained_begin/end() callbacks. It no longer relies on is_external=true
so it is safe to pass is_external=false.
This is part of ongoing work to remove the aio_disable_external() API.
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20230516190238.8401-13-stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions