/qemu/tests/qemu-iotests/ |
H A D | 308.out | 26 '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 D | 108 | 37 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 D | common.rc | 296 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 D | 308 | 4 # 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 D | 111 | 42 _supported_proto file fuse
|
H A D | 107 | 41 _supported_proto file nfs fuse
|
/qemu/tests/qemu-iotests/tests/ |
H A D | fuse-allow-other.out | 1 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 D | file-io-error | 31 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 D | fuse-allow-other | 4 # 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 D | file-io-error.out | 17 'type': 'fuse', 19 'mountpoint': 'TEST_DIR/fuse-export',
|
/qemu/python/qemu/utils/ |
H A D | qom_fuse.py | 2 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 D | qom.py | 4 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 D | sifive_u_otp.c | 76 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 D | setup.cfg | 51 # 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 D | block-export.json | 146 # 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 D | npcm7xx_otp.c | 2 * 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 D | npcm7xx_otp.h | 2 * Nuvoton NPCM7xx OTP (Fuse Array) Interface 26 /* Fuse array offsets */ 62 #define TYPE_NPCM7XX_FUSE_ARRAY "npcm7xx-fuse-array"
|
/qemu/block/export/ |
H A D | meson.build | 7 blockdev_ss.add(when: fuse, if_true: files('fuse.c'))
|
H A D | fuse.c | 2 * 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 D | minreqs.txt | 31 # Dependencies for FUSE support for qom-fuse
|
/qemu/docs/tools/ |
H A D | qemu-storage-daemon.rst | 81 …--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 D | fuse.h | 3 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 D | aes-round.h | 65 /* Most CPUs fuse AESD+AESIMC in the execution pipeline. */ 74 /* Most CPUs fuse AESE+AESMC in the execution pipeline. */
|
/qemu/include/block/ |
H A D | fuse.h | 2 * Present a block device as a raw image through FUSE
|
/qemu/scripts/ |
H A D | meson-buildoptions.sh | 119 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 ;;
|