]> git.proxmox.com Git - mirror_qemu.git/commit
block/fuse: do not set is_external=true on FUSE fd
authorStefan Hajnoczi <stefanha@redhat.com>
Tue, 16 May 2023 19:02:33 +0000 (15:02 -0400)
committerKevin Wolf <kwolf@redhat.com>
Tue, 30 May 2023 15:32:02 +0000 (17:32 +0200)
commit17b69c0fc1462be70419e622b63755a4390bfe31
treea4e3f4bd27499e0759677645456570bab76122a5
parent3d499a43a25571dcacb3a25330357af5e0be9bca
block/fuse: do not set is_external=true on FUSE fd

This is part of ongoing work to remove the aio_disable_external() API.

Use BlockDevOps .drained_begin/end/poll() instead of
aio_set_fd_handler(is_external=true).

As a side-effect the FUSE export now follows AioContext changes like the
other export types.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20230516190238.8401-16-stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/export/fuse.c