/openbmc/qemu/tests/qemu-iotests/ |
H A D | 142.out | 51 cache.direct=on on backing 58 cache.direct=on on backing-file 74 …=TEST_DIR/t.qcow2,backing.file.filename=TEST_DIR/t.qcow2.base,node-name=image,backing.node-name=ba… 76 cache.writeback=off on backing 77 …backing.file.filename=TEST_DIR/t.qcow2.base,node-name=image,backing.node-name=backing,backing.file… 79 cache.writeback=off on backing-file 80 …backing.file.filename=TEST_DIR/t.qcow2.base,node-name=image,backing.node-name=backing,backing.file… 97 cache.no-flush=on on backing 104 cache.no-flush=on on backing-file 127 cache.direct=on on backing [all …]
|
H A D | 228 | 4 # Test for when a backing file is considered overridden (thus, a 28 # Need backing file and change-backing-file support 40 log('bs->backing_file: ' + node['image']['full-backing-filename'], 43 if 'backing-image' in node['image']: 44 log('bs->backing->bs->filename: ' + 45 node['image']['backing-image']['filename'], 48 log('bs->backing: (none)') 58 # Choose a funny way to describe the backing filename 65 log('--- Implicit backing file ---') 77 # Filename should be plain, and the backing node filename should [all …]
|
H A D | 245 | 134 # This test opens one single disk image (without backing files) 137 # Open 'hd0' only (no backing files) 175 # This test opens an image with a backing file and tries to reopen 178 # Open hd1 omitting the backing options (hd0 will be opened 184 # We can't reopen the image passing the same options, 'backing' is mandatory 185 self.reopen(opts, {}, "backing is missing for 'hd1'") 187 # Everything works if we pass 'backing' using the existing node name 191 self.reopen(opts, {'backing': backing_node_name}) 193 # We can't use a non-existing or empty (non-NULL) node as the backing image 194 … self.reopen(opts, {'backing': 'not-found'}, "Cannot find device=\'\' nor node-name=\'not-found\'") [all …]
|
H A D | 142 | 87 files="if=none,file=$TEST_IMG,backing.file.filename=$TEST_IMG.base" 88 ids="node-name=image,backing.node-name=backing,backing.file.node-name=backing-file,file.node-name=f… 93 # bs->backing 99 printf "\ncache.direct=on on backing\n" 100 …echo "$hmp_cmds" | run_qemu -drive "$files","$ids",backing.cache.direct=on | grep -e "Cache" -e "[… 101 printf "\ncache.direct=on on backing-file\n" 102 …echo "$hmp_cmds" | run_qemu -drive "$files","$ids",backing.file.cache.direct=on | grep -e "Cache" … 104 # cache.writeback is supposed to be inherited by bs->backing; bs->file 111 printf "\ncache.writeback=off on backing\n" 112 …echo "$hmp_cmds" | run_qemu -drive "$files","$ids",backing.cache.writeback=off | grep -e "doesn't"… [all …]
|
H A D | 228.out | 1 --- Implicit backing file --- 8 bs->backing->bs->filename: TEST_DIR/PID-base.img 13 --- change-backing-file --- 17 {"execute": "change-backing-file", "arguments": {"backing-file": "null-co://", "device": "node0", "… 20 bs->filename: json:{"backing": {"driver": "IMGFMT", "file": {"driver": "file", "filename": "TEST_DI… 22 bs->backing->bs->filename: TEST_DIR/PID-base.img 24 {"execute": "change-backing-file", "arguments": {"backing-file": "TEST_DIR/PID-base.img", "device":… 29 bs->backing->bs->filename: TEST_DIR/PID-base.img 31 {"execute": "change-backing-file", "arguments": {"backing-file": "file:TEST_DIR/PID-base.img", "dev… 34 bs->filename: json:{"backing": {"driver": "IMGFMT", "file": {"driver": "file", "filename": "TEST_DI… [all …]
|
H A D | 225 | 4 # Test vmdk backing file correlation 58 backing=$3 60 if [ -z "$backing" ]; then 61 backing="null" 63 backing="'$backing'" 72 'backing': $backing }" 75 overlay_opts=$(make_opts overlay "$TEST_IMG" backing) 76 base_opts=$(make_opts backing "$TEST_IMG.base") 77 not_base_opts=$(make_opts backing "$TEST_IMG.not_base") 79 not_vmdk_opts="{ 'node-name': 'backing', 'driver': 'null-co' }" [all …]
|
H A D | 155 | 4 # Test whether the backing BDSs are correct after completion of a 6 # mode=existing and blockdev-mirror) the backing chain should not be 39 # target_backing: If existing is True: Use this filename as the backing file 41 # (None: no backing file) 42 # target_blockdev_backing: If existing is True: Pass this dict as "backing" 44 # (None: do not pass "backing") 45 # target_real_backing: If existing is True: The real filename of the backing 49 # target_open_with_backing: If True, the target image is added with its backing 51 # opens it without a backing file and job completion 52 # is supposed to open the backing chain. [all …]
|
H A D | 051.out | 80 === Overriding backing file === 82 Testing: -drive file=TEST_DIR/t.qcow2,driver=qcow2,backing.file.filename=TEST_DIR/t.qcow2.orig,if=n… 85 drive0 (NODE_NAME): json:{"backing": {"driver": "qcow2", "file": {"driver": "file", "filename": "TE… 88 Backing file: TEST_DIR/t.qcow2.orig (chain depth: 1) 91 Testing: -drive file=TEST_DIR/t.qcow2,driver=raw,backing.file.filename=TEST_DIR/t.qcow2.orig 92 …drive file=TEST_DIR/t.qcow2,driver=raw,backing.file.filename=TEST_DIR/t.qcow2.orig: Driver doesn't… 94 Testing: -drive file=TEST_DIR/t.qcow2,file.backing.driver=file,file.backing.filename=TEST_DIR/t.qco… 95 …e file=TEST_DIR/t.qcow2,file.backing.driver=file,file.backing.filename=TEST_DIR/t.qcow2.orig: Driv… 97 Testing: -drive file=TEST_DIR/t.qcow2,file.backing.driver=qcow2,file.backing.file.filename=TEST_DIR… 98 …ile=TEST_DIR/t.qcow2,file.backing.driver=qcow2,file.backing.file.filename=TEST_DIR/t.qcow2.orig: D… [all …]
|
H A D | 267 | 126 echo "=== -blockdev with a backing file ===" 132 run_test -blockdev driver=file,filename="$TEST_IMG.base",node-name=backing-file \ 134 -blockdev driver=$IMGFMT,file=file,backing=backing-file,node-name=fmt 137 run_test -blockdev driver=file,filename="$TEST_IMG.base",node-name=backing-file \ 138 -blockdev driver=$IMGFMT,file=backing-file,node-name=backing-fmt \ 140 -blockdev driver=$IMGFMT,file=file,backing=backing-fmt,node-name=fmt 142 # A snapshot should be present on the overlay, but not the backing file 146 echo Internal snapshots on backing file: 150 echo "=== -blockdev with NBD server on the backing file ===" 156 nbd_server_add -w backing-fmt [all …]
|
H A D | 301.out | 5 qemu-img: TEST_DIR/t.IMGFMT: Backing file specified without backing format 11 backing file: TEST_DIR/t.IMGFMT.base 15 Could not open backing image. 17 Could not open backing image. 23 Could not open backing image. 25 qemu-img: TEST_DIR/t.IMGFMT: unrecognized backing format 'garbage' 30 backing file: TEST_DIR/t.IMGFMT.base 33 qemu-img: TEST_DIR/t.IMGFMT: Backing file specified without backing format 39 backing file: TEST_DIR/t.IMGFMT.base 41 == commit cannot change type of raw backing file ==
|
H A D | 130 | 4 # Test that temporary backing file overrides (on the command line or in 63 # Test that a backing file isn't written 64 _launch_qemu -drive id=testdisk,file="$TEST_IMG",backing.file.filename="$TEST_IMG.base" 70 # Make sure that if there was a backing file that was just overridden on the 71 # command line, that backing file is retained, with the right format 73 _launch_qemu -drive id=testdisk,file="$TEST_IMG",backing.file.filename="$TEST_IMG.base",backing.dri… 83 # Test that a backing file isn't written 85 $QEMU_IO -c "open -o backing.file.filename=$TEST_IMG.base,lazy-refcounts=on $TEST_IMG" -c "write 0 … 88 # Make sure that if there was a backing file that was just overridden on the 89 # command line, that backing file is retained, with the right format [all …]
|
H A D | 224.out | 4 {"execute": "blockdev-add", "arguments": {"backing": {"backing": {"backing": {"driver": "null-co"},… 6 …backing\": {\"driver\": \"null-co\"}, \"driver\": \"IMGFMT\", \"file\": {\"driver\": \"file\", \"f… 13 {"execute": "blockdev-add", "arguments": {"backing": {"backing": {"backing": {"driver": "null-co"},… 15 …backing\": {\"driver\": \"null-co\"}, \"driver\": \"IMGFMT\", \"file\": {\"driver\": \"file\", \"f…
|
H A D | 051.pc.out | 80 === Overriding backing file === 82 Testing: -drive file=TEST_DIR/t.qcow2,driver=qcow2,backing.file.filename=TEST_DIR/t.qcow2.orig,if=n… 85 drive0 (NODE_NAME): json:{"backing": {"driver": "qcow2", "file": {"driver": "file", "filename": "TE… 88 Backing file: TEST_DIR/t.qcow2.orig (chain depth: 1) 91 Testing: -drive file=TEST_DIR/t.qcow2,driver=raw,backing.file.filename=TEST_DIR/t.qcow2.orig 92 …drive file=TEST_DIR/t.qcow2,driver=raw,backing.file.filename=TEST_DIR/t.qcow2.orig: Driver doesn't… 94 Testing: -drive file=TEST_DIR/t.qcow2,file.backing.driver=file,file.backing.filename=TEST_DIR/t.qco… 95 …e file=TEST_DIR/t.qcow2,file.backing.driver=file,file.backing.filename=TEST_DIR/t.qcow2.orig: Driv… 97 Testing: -drive file=TEST_DIR/t.qcow2,file.backing.driver=qcow2,file.backing.file.filename=TEST_DIR… 98 …ile=TEST_DIR/t.qcow2,file.backing.driver=qcow2,file.backing.file.filename=TEST_DIR/t.qcow2.orig: D… [all …]
|
H A D | 043 | 2 # group: rw auto backing 4 # Test that qemu-img info --backing-chain detects infinite loops 43 # Any format supporting backing files 53 echo "== backing file references self ==" 54 _img_info --backing-chain 63 _img_info --backing-chain 76 _img_info --backing-chain 86 # Exclude backing format, since qed differs from qcow2 on what gets stored 87 _img_info --backing-chain | grep -v '^backing file format:' 91 _img_info --backing-chain --output=json | grep -v 'backing-filename-format'
|
H A D | 191.out | 118 "backing-image": { 126 "backing-filename-format": "IMGFMT", 132 "full-backing-filename": "TEST_DIR/t.IMGFMT.base", 133 "backing-filename": "TEST_DIR/t.IMGFMT.base", 187 "backing-image": { 195 "backing-filename-format": "IMGFMT", 201 "full-backing-filename": "TEST_DIR/t.IMGFMT.base", 202 "backing-filename": "TEST_DIR/t.IMGFMT.base", 256 "backing-image": { 264 "backing-filename-format": "IMGFMT", [all …]
|
H A D | 020 | 2 # group: rw backing auto quick 4 # Commit changes to backing file 48 # Any format supporting backing files 67 # Some clusters with alternating backing file/image file reads 70 # Complete backing clusters 75 echo "Creating test image with backing file" 85 # Some clusters with alternating backing file/image file reads 96 echo "Reading from the backing file" 100 # Some clusters with alternating backing file/image file reads 121 # Create an image with a null backing file to which committing will fail (with [all …]
|
H A D | 273.out | 5 …idf","backing":null} -blockdev file,node-name=topf,filename=TEST_DIR/t.IMGFMT -blockdev {"driver":… 27 "backing-image": { 28 "backing-image": { 35 "backing-filename-format": "IMGFMT", 41 "full-backing-filename": "TEST_DIR/t.IMGFMT.base", 42 "backing-filename": "TEST_DIR/t.IMGFMT.base", 45 "backing-filename-format": "IMGFMT", 51 "full-backing-filename": "TEST_DIR/t.IMGFMT.mid", 52 "backing-filename": "TEST_DIR/t.IMGFMT.mid", 106 "backing-image": { [all …]
|
H A D | 043.out | 4 == backing file references self == 5 qemu-img: Backing file 'TEST_DIR/t.IMGFMT' creates an infinite loop. 10 qemu-img: Backing file 'TEST_DIR/t.IMGFMT' creates an infinite loop. 17 qemu-img: Backing file 'TEST_DIR/t.IMGFMT.2.base' creates an infinite loop. 27 backing file: TEST_DIR/t.IMGFMT.2.base 33 backing file: TEST_DIR/t.IMGFMT.1.base 47 "full-backing-filename": "TEST_DIR/t.IMGFMT.2.base", 48 "backing-filename": "TEST_DIR/t.IMGFMT.2.base", 56 "full-backing-filename": "TEST_DIR/t.IMGFMT.1.base", 57 "backing-filename": "TEST_DIR/t.IMGFMT.1.base",
|
H A D | 279 | 2 # group: rw backing quick 4 # Test qemu-img --backing-chain --image-opts 38 # Backing files are required... 50 echo '== qemu-img info --backing-chain ==' 51 _img_info --backing-chain | _filter_img_info | grep -v 'backing file format' 54 echo '== qemu-img info --backing-chain --image-opts ==' 55 TEST_IMG="driver=$IMGFMT,file.driver=file,file.filename=$TEST_IMG" _img_info --backing-chain --imag… 56 | _filter_img_info | grep -v 'backing file format'
|
H A D | 267.out | 128 === -blockdev with a backing file === 132 …se,node-name=backing-file -blockdev driver=file,filename=TEST_DIR/t.IMGFMT,node-name=file -blockde… 143 …backing-file -blockdev driver=IMGFMT,file=backing-file,node-name=backing-fmt -blockdev driver=file… 157 Internal snapshots on backing file: 159 === -blockdev with NBD server on the backing file === 162 …backing-file -blockdev driver=IMGFMT,file=backing-file,node-name=backing-fmt -blockdev driver=file… 165 (qemu) nbd_server_add -w backing-fmt 178 Internal snapshots on backing file:
|
H A D | 224 | 29 # Need backing file support (for arbitrary backing formats) 61 # Change the bottom-most image's backing file (to null-co://) 70 backing={ 77 'backing': { 84 'backing': { 130 assert top_options['backing']['driver'] == 'commit_top' 131 # And the mid image is commit_top's backing image 132 mid_options = top_options['backing']['backing'] 134 # The mid image should appear as the immediate backing BDS 136 mid_options = top_options['backing']
|
H A D | 019 | 2 # group: rw backing auto quick 4 # When using a backing file for the output image in qemu-img convert, 5 # the backing file clusters must not copied. The data must still be 45 # Any format supporting backing files 66 # Some clusters with alternating backing file/image file reads 69 # Complete backing clusters 74 echo "Creating test image with backing file" 84 # Some clusters with alternating backing file/image file reads 105 echo "Checking if backing clusters are allocated when they shouldn't" 108 # Complete backing clusters [all …]
|
H A D | 097 | 2 # group: rw auto backing 4 # Commit changes into backing chains and empty the top image if the 5 # backing image is not explicitly specified 43 # Any format supporting backing files and bdrv_make_empty 50 # 0: Two-layer backing chain, commit to upper backing file (implicitly) 52 # 1: Two-layer backing chain, commit to upper backing file (explicitly) 54 # 2: Two-layer backing chain, commit to upper backing file (implicitly with -d) 56 # 3: Two-layer backing chain, commit to lower backing file 82 # first backing file in the chain)
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-block-bcache | 5 A write to this file causes the backing device or cache to be 6 unregistered. If a backing device had dirty data in the cache, 9 all associated backing devices before unregistering themselves. 21 For a backing device that has cache, a symlink to 28 For backing devices: integer number of full cache hits, 35 For backing devices: integer number of cache misses. 41 For backing devices: cache hits as a percentage. 47 For backing devices: Threshold past which sequential IO will 63 For backing devices: When on, writeback caching is enabled and 72 For backing devices: when off, dirty data will not be written [all …]
|
/openbmc/hiomapd/vpnor/ |
H A D | README.md | 5 backing files. 23 - The BMC provide a directory tree presenting the backing files in a hierarchy 33 6. Access ranges that are valid may map into a backing file associated with the 35 7. A read of a valid access range that maps into the backing file will render 36 the data held in the backing file at the appropriate offset 37 8. A read of a valid access range that does not map into the backing file will 40 10. A write to a valid access range that maps into the backing file will update 42 11. A write to a valid access range that does not map into the backing file will 43 expand the backing file to accommodate the write.
|