Home
last modified time | relevance | path

Searched full:fuse (Results 1 – 25 of 116) sorted by relevance

12345

/qemu/tests/qemu-iotests/
H A D308.out26 'type': 'fuse',
29 'mountpoint': 'TEST_DIR/t.IMGFMT.fuse'
31 {"error": {"class": "GenericError", "desc": "Failed to stat 'TEST_DIR/t.IMGFMT.fuse': No such file …
36 'type': 'fuse',
39 'mountpoint': 'TEST_DIR/t.IMGFMT.fuse'
41 {"error": {"class": "GenericError", "desc": "'TEST_DIR/t.IMGFMT.fuse' is not a regular file"}}
46 'type': 'fuse',
49 'mountpoint': 'TEST_DIR/t.IMGFMT.fuse'
54 chmod: changing permissions of 'TEST_DIR/t.IMGFMT.fuse': Read-only file system
61 'type': 'fuse',
[all …]
H A D10837 fusermount -u "$TEST_DIR/fuse-export" &>/dev/null
39 rm -f "$TEST_DIR/fuse-export"
50 _supported_proto file fuse
57 # This test either needs sudo -n losetup or FUSE exports to work
63 # Check for usable FUSE in the host environment:
64 if test ! -c "/dev/fuse"; then
65 _notrun 'No passwordless sudo nor usable /dev/fuse'
68 # QSD --export fuse will either yield "Parameter 'id' is missing"
69 # or "Invalid parameter 'fuse'", depending on whether there is
70 # FUSE support or not.
[all …]
H A Dcommon.rc296 elif [ "$IMGPROTO" = "fuse" ]; then
298 TEST_IMG="$DRIVER,file.filename=$SOCK_DIR/fuse-t.$IMGFMT"
315 elif [ "$IMGPROTO" = "fuse" ]; then
317 TEST_IMG="$SOCK_DIR/fuse-t.$IMGFMT"
405 fuse)
406 echo "$1" | sed -e "s#$SOCK_DIR/fuse-#$TEST_DIR/#"
437 if [[ $IMGPROTO == fuse && $TEST_IMG == $SOCK_DIR/fuse-* ]]; then
527 if [ $IMGPROTO = "fuse" -a -f "$img_name" ]; then
533 export_mp=$(echo "$img_name" | sed -e "s#$TEST_DIR/#$SOCK_DIR/fuse-#")
535 echo 'Cannot use FUSE exports with images outside of TEST_DIR' >&2
[all …]
H A D3084 # Test FUSE exports (in ways that are not captured by the generic
52 _supported_proto file # We create the FUSE export manually
62 # The grep -v is a filter for errors when /etc/fuse.conf does not contain
68 'type': 'fuse',
112 EXT_MP="$TEST_IMG.fuse"
152 if echo "$output" | grep -q "Parameter 'type' does not accept value 'fuse'"; then
153 _notrun 'No FUSE support'
188 # This is the coolest feature of FUSE exports: You can transparently
199 # whether the FUSE export driver lets them work.)
H A D11142 _supported_proto file fuse
H A D10741 _supported_proto file nfs fuse
/qemu/tests/qemu-iotests/tests/
H A Dfuse-allow-other.out1 QA output created by fuse-allow-other
11 'type': 'fuse',
14 'mountpoint': 'TEST_DIR/fuse-export',
23 chmod: changing permissions of 'TEST_DIR/fuse-export': Operation not permitted
26 cat: fuse-export: Permission denied
27 stat: cannot statx 'fuse-export': Permission denied
28 cat: fuse-export: Permission denied
29 stat: cannot statx 'fuse-export': Permission denied
40 'type': 'fuse',
43 'mountpoint': 'TEST_DIR/fuse-export',
[all …]
H A Dfile-io-error31 rm -f "$TEST_DIR/fuse-export"
54 # file-posix, which can be done (rootless) by providing a FUSE export that
74 # FUSE mountpoint must exist and be a regular file
75 touch "$TEST_DIR/fuse-export"
77 # The grep -v to filter fusermount's (benign) error when /etc/fuse.conf does
78 # not contain user_allow_other and the subsequent check for missing FUSE support
84 'type': 'fuse',
86 'mountpoint': '$TEST_DIR/fuse-export',
92 if echo "$output" | grep -q "Parameter 'type' does not accept value 'fuse'"; then
93 _notrun 'No FUSE support'
[all …]
H A Dfuse-allow-other4 # Test FUSE exports' allow-other option
42 _supported_proto file # We create the FUSE export manually
59 'type': 'fuse',
83 EXT_MP="$TEST_DIR/fuse-export"
126 # This is already prevented by the permissions (without allow-other, FUSE
128 sudo -n -u nobody cat fuse-export >/dev/null
134 stat -c 'Permissions seen by nobody: %a' fuse-export 2>&1 \
138 chmod o-r fuse-export 2>&1 | _filter_testdir | _filter_imgfmt
141 sudo -n -u nobody cat fuse-export >/dev/null
144 stat -c 'Permissions seen by nobody: %a' fuse-export 2>&1 \
H A Dfile-io-error.out17 'type': 'fuse',
19 'mountpoint': 'TEST_DIR/fuse-export',
/qemu/python/qemu/utils/
H A Dqom_fuse.py2 QEMU Object Model FUSE filesystem tool
4 This script offers a simple FUSE filesystem within which the QOM tree
10 usage: qom-fuse [-h] [--socket SOCKET] <mount>
12 Mount a QOM tree as a FUSE filesystem
48 import fuse
49 from fuse import FUSE, FuseOSError, Operations
56 fuse.fuse_python_api = (0, 2)
61 QOMFuse implements both fuse.Operations and QOMCommand.
65 name = 'fuse'
66 help = 'Mount a QOM tree as a FUSE filesystem'
[all …]
H A Dqom.py4 usage: qom [-h] {set,get,list,tree,fuse} ...
12 {set,get,list,tree,fuse}
17 fuse Mount a QOM tree as a FUSE filesystem
43 if _err.name != 'fuse':
/qemu/hw/misc/
H A Dsifive_u_otp.c76 return s->fuse[s->pa & SIFIVE_U_OTP_PA_MASK]; in sifive_u_otp_read()
165 SET_FUSEARRAY_BIT(s->fuse, s->pa, s->paio, s->pdin); in sifive_u_otp_write()
170 SIFIVE_U_OTP_FUSE_WORD, &s->fuse[s->pa], 0) in sifive_u_otp_write()
235 if (blk_pread(s->blk, 0, filesize, s->fuse, 0) < 0) { in sifive_u_otp_realize()
243 memset(s->fuse, 0xff, sizeof(s->fuse)); in sifive_u_otp_realize()
246 s->fuse[SIFIVE_U_OTP_SERIAL_ADDR] = s->serial; in sifive_u_otp_realize()
247 s->fuse[SIFIVE_U_OTP_SERIAL_ADDR + 1] = ~(s->serial); in sifive_u_otp_realize()
/qemu/python/
H A Dsetup.cfg51 # Provides qom-fuse functionality
52 fuse =
68 qom-fuse = qemu.utils.qom_fuse:QOMFuse.entry_point [fuse]
95 [mypy-fuse]
195 .[fuse] # Workaround to trigger tox venv rebuild
/qemu/qapi/
H A Dblock-export.json146 # Possible allow_other modes for FUSE exports.
166 # @mountpoint: Path on which to export the block device via FUSE.
175 # with the FUSE mount option "allow_other". Note that using
177 # enabled in the global fuse.conf configuration file. In auto
178 # mode (the default), the FUSE export driver will first attempt to
331 # @fuse: FUSE export (since: 6.0)
341 { 'name': 'fuse', 'if': 'CONFIG_FUSE' },
398 'fuse': { 'type': 'BlockExportOptionsFuse',
/qemu/hw/nvram/
H A Dnpcm7xx_otp.c2 * Nuvoton NPCM7xx OTP (Fuse Array) Interface
66 * The two OTP modules (key-storage and fuse-array) have slightly different
253 /* Register read handler specific to the fuse array OTP module. */
262 * Only the Fuse Strap register needs special handling; all other registers in npcm7xx_fuse_array_read()
281 /* Register write handler specific to the fuse array OTP module. */
289 * The Fuse Strap register is read-only. Other registers are handled by in npcm7xx_fuse_array_write()
316 * Only the Fuse Key Index register needs special handling; all other in npcm7xx_key_storage_read()
336 * Only the Fuse Key Index register needs special handling; all other in npcm7xx_key_storage_write()
/qemu/include/hw/nvram/
H A Dnpcm7xx_otp.h2 * Nuvoton NPCM7xx OTP (Fuse Array) Interface
26 /* Fuse array offsets */
62 #define TYPE_NPCM7XX_FUSE_ARRAY "npcm7xx-fuse-array"
/qemu/block/export/
H A Dmeson.build7 blockdev_ss.add(when: fuse, if_true: files('fuse.c'))
H A Dfuse.c2 * Present a block device as a raw image through FUSE
26 #include "block/fuse.h"
33 #include <fuse.h>
123 BlockExportOptionsFuse *args = &blk_exp_args->u.fuse; in fuse_export_create()
145 * the FUSE fd handler. Do not queue BlockBackend requests, they need to in fuse_export_create()
167 error_setg(errp, "There already is a FUSE export on '%s'", in fuse_export_create()
257 error_setg(errp, "Failed to set up FUSE session"); in setup_fuse_export()
264 error_setg(errp, "Failed to mount FUSE session to export"); in setup_fuse_export()
285 * Callback to be invoked when the FUSE session FD can be read from.
286 * (This is basically the FUSE event loop.)
[all …]
/qemu/python/tests/
H A Dminreqs.txt31 # Dependencies for FUSE support for qom-fuse
/qemu/docs/tools/
H A Dqemu-storage-daemon.rst81 …--export [type=]fuse,id=<id>,node-name=<node-name>,mountpoint=<file>[,growable=on|off][,writable=o…
101 The ``fuse`` export type takes a mount point, which must be a regular file,
112 user_allow_other option in the global fuse.conf configuration file. Setting
248 Export a qcow2 image file ``disk.qcow2`` via FUSE on itself, so the disk image
254 --export type=fuse,id=export,node-name=qcow2,mountpoint=disk.qcow2,writable=on
/qemu/include/standard-headers/linux/
H A Dfuse.h3 This file defines the kernel interface of FUSE
37 * This file defines the kernel interface of FUSE
104 * - add splice support to fuse device
1002 * FUSE request unique ID flag
1013 * - fuse daemon enabled FUSE_ALLOW_IDMAP
1250 * Header for all fuse-io-uring requests
1268 /* register the request buffer and fetch a fuse request */
1271 /* commit fuse request result and fetch next request */
/qemu/host/include/aarch64/host/crypto/
H A Daes-round.h65 /* Most CPUs fuse AESD+AESIMC in the execution pipeline. */
74 /* Most CPUs fuse AESE+AESMC in the execution pipeline. */
/qemu/include/block/
H A Dfuse.h2 * Present a block device as a raw image through FUSE
/qemu/scripts/
H A Dmeson-buildoptions.sh119 printf "%s\n" ' fuse FUSE block device export'
120 printf "%s\n" ' fuse-lseek SEEK_HOLE/SEEK_DATA support for FUSE exports'
316 --enable-fuse) printf "%s" -Dfuse=enabled ;;
317 --disable-fuse) printf "%s" -Dfuse=disabled ;;
318 --enable-fuse-lseek) printf "%s" -Dfuse_lseek=enabled ;;
319 --disable-fuse-lseek) printf "%s" -Dfuse_lseek=disabled ;;

12345