Lines Matching +full:set +full:- +full:top
4 # Test json:{} filenames with qemu-internal BDSs
35 # (1) We do not set filter_node_name. In that case, the commit_top
37 # (2) We do set filter_node_name. In that case, it should appear.
42 log('--- filter_node_name: %s ---' % filter_node_name)
47 iotests.FilePath('top.img') as top_img_path, \
50 qemu_img('create', '-f', iotests.imgfmt, base_img_path, '64M')
51 qemu_img('create', '-f', iotests.imgfmt, '-b', base_img_path,
52 '-F', iotests.imgfmt, mid_img_path)
53 qemu_img('create', '-f', iotests.imgfmt, '-b', mid_img_path,
54 '-F', iotests.imgfmt, top_img_path)
57 qemu_io(mid_img_path, '-c', 'write -P 1 0 1M')
61 # Change the bottom-most image's backing file (to null-co://)
63 vm.qmp_log('blockdev-add',
64 node_name='top',
71 'node-name': 'mid',
78 'node-name': 'base',
85 'driver': 'null-co'
91 # As long as block-commit does not accept node names, we have to
101 vm.qmp_log('block-commit',
103 device='top',
105 top=mid_name,
110 vm.qmp_log('block-commit',
112 device='top',
113 top=mid_name,
118 vm.qmp_log('job-pause', id='commit')
120 # Get and parse top's json:{} filename
121 top_name = vm.node_info('top')['image']['filename']
129 # This should be present and set
135 # of top