Lines Matching full:backing

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
84 log('--- change-backing-file ---')
96 # Changing the backing file to a qemu-reported filename should
98 # backing BDS (and thus not generate a json:{} filename).
99 # So, first, query the backing filename.
102 vm.node_info('node0')['image']['backing-image']['filename']
104 # Next, change the backing file to something different
106 vm.qmp_log('change-backing-file',
113 # (Image header says "null-co://", actual backing file still is
119 # (To get header and backing file in sync)
121 vm.qmp_log('change-backing-file',
133 # backing file here, so it cannot verify that this filename
134 # "resolves" to the actual backing BDS's filename and will thus
138 vm.qmp_log('change-backing-file',
149 # opening the image anew helps qemu resolve the header backing
168 log('--- Override backing file ---')
172 # (because qemu cannot "canonicalize"/"resolve" the backing
173 # filename unless the backing file is opened implicitly with the
178 # You can only reliably override backing options by using a node
189 backing='null',
194 # with the header backing filename (except that it is changed by
195 # change-backing-file))
199 # Detach the backing file by reopening the whole thing
211 backing=None,
214 # Should get a json:{} filename (because we overrode the backing
219 # Open the original backing file
222 node_name='original-backing',
230 # Attach the original backing file to its overlay
233 node='original-backing',
241 vm.qmp_log('blockdev-del', node_name='original-backing')