Home
last modified time | relevance | path

Searched full:backing (Results 1 – 25 of 978) sorted by relevance

12345678910>>...40

/openbmc/qemu/tests/qemu-iotests/
H A D142.out51 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
77backing.file.filename=TEST_DIR/t.qcow2.base,node-name=image,backing.node-name=backing,backing.file…
79 cache.writeback=off on backing-file
80backing.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 D2284 # 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 D245134 # 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 D14287 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 D228.out1 --- 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 D051.out80 === 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 D1554 # 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 D2254 # 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 D267126 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 D301.out5 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 D1304 # 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 D051.pc.out80 === 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 D224.out4 {"execute": "blockdev-add", "arguments": {"backing": {"backing": {"backing": {"driver": "null-co"},…
6backing\": {\"driver\": \"null-co\"}, \"driver\": \"IMGFMT\", \"file\": {\"driver\": \"file\", \"f…
13 {"execute": "blockdev-add", "arguments": {"backing": {"backing": {"backing": {"driver": "null-co"},…
15backing\": {\"driver\": \"null-co\"}, \"driver\": \"IMGFMT\", \"file\": {\"driver\": \"file\", \"f…
H A D191.out119 "backing-image": {
127 "backing-filename-format": "IMGFMT",
133 "full-backing-filename": "TEST_DIR/t.IMGFMT.base",
134 "backing-filename": "TEST_DIR/t.IMGFMT.base",
190 "backing-image": {
198 "backing-filename-format": "IMGFMT",
204 "full-backing-filename": "TEST_DIR/t.IMGFMT.base",
205 "backing-filename": "TEST_DIR/t.IMGFMT.base",
261 "backing-image": {
269 "backing-filename-format": "IMGFMT",
[all …]
H A D0432 # 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 D0202 # 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 D273.out5 …idf","backing":null} -blockdev file,node-name=topf,filename=TEST_DIR/t.IMGFMT -blockdev {"driver":…
28 "backing-image": {
29 "backing-image": {
36 "backing-filename-format": "IMGFMT",
42 "full-backing-filename": "TEST_DIR/t.IMGFMT.base",
43 "backing-filename": "TEST_DIR/t.IMGFMT.base",
46 "backing-filename-format": "IMGFMT",
52 "full-backing-filename": "TEST_DIR/t.IMGFMT.mid",
53 "backing-filename": "TEST_DIR/t.IMGFMT.mid",
109 "backing-image": {
[all …]
H A D267.out128 === -blockdev with a backing file ===
132 …se,node-name=backing-file -blockdev driver=file,filename=TEST_DIR/t.IMGFMT,node-name=file -blockde…
143backing-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 ===
162backing-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 D043.out4 == 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 D2792 # 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 D22429 # 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 D0192 # 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 D0972 # 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 Dsysfs-block-bcache5 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/qemu/docs/tools/
H A Dqemu-img.rst102 .. option:: --backing-chain
104 Will enumerate information about backing files in a disk image chain. Refer
210 that has a backing file. It is required to also use the ``-n``
271 format, but note that amending the backing chain relationship should
363 Commit the changes recorded in *FILENAME* in its base image or backing file.
364 If the backing file is smaller than the snapshot, then the backing file will be
366 the backing file, the backing file will not be truncated. If you want the
367 backing file to match the size of the smaller snapshot, you can safely truncate
374 If the backing chain of the given image file *FILENAME* has more than one
375 layer, the backing file into which the changes will be committed may be
[all …]

12345678910>>...40