diff options
author | Max Reitz | 2020-10-27 20:05:42 +0100 |
---|---|---|
committer | Kevin Wolf | 2020-12-11 17:52:39 +0100 |
commit | 0c9b70d5900a5108e899edfdd6f3790f8cb6bdc2 (patch) | |
tree | ed23a7492b93435b04325b4cd1227e6d213b066c /MAINTAINERS | |
parent | meson: Detect libfuse (diff) | |
download | qemu-0c9b70d5900a5108e899edfdd6f3790f8cb6bdc2.tar.gz qemu-0c9b70d5900a5108e899edfdd6f3790f8cb6bdc2.tar.xz qemu-0c9b70d5900a5108e899edfdd6f3790f8cb6bdc2.zip |
fuse: Allow exporting BDSs via FUSE
block-export-add type=fuse allows mounting block graph nodes via FUSE on
some existing regular file. That file should then appears like a raw
disk image, and accesses to it result in accesses to the exported BDS.
Right now, we only implement the necessary block export functions to set
it up and shut it down. We do not implement any access functions, so
accessing the mount point only results in errors. This will be
addressed by a followup patch.
We keep a hash table of exported mount points, because we want to be
able to detect when users try to use a mount point twice. This is
because we invoke stat() to check whether the given mount point is a
regular file, but if that file is served by ourselves (because it is
already used as a mount point), then this stat() would have to be served
by ourselves, too, which is impossible to do while we (as the caller)
are waiting for it to settle. Therefore, keep track of mount point
paths to at least catch the most obvious instances of that problem.
Signed-off-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20201027190600.192171-3-mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'MAINTAINERS')
-rw-r--r-- | MAINTAINERS | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/MAINTAINERS b/MAINTAINERS index aa39490a24..1950592d04 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -3114,6 +3114,12 @@ F: include/qemu/vhost-user-server.h F: tests/qtest/libqos/vhost-user-blk.c F: util/vhost-user-server.c +FUSE block device exports +M: Max Reitz <mreitz@redhat.com> +L: qemu-block@nongnu.org +S: Supported +F: block/export/fuse.c + Replication M: Wen Congyang <wencongyang2@huawei.com> M: Xie Changlong <xiechanglong.d@gmail.com> |