Lines Matching +full:- +full:m
4 # Copy-on-read tests using a COR filter with a bottom node
31 log('=== Copy-on-read across nodes ===')
43 log('--- Setting up images ---')
46 qemu_img('create', '-f', iotests.imgfmt, base_img_path, '64M')
47 qemu_io(base_img_path, '-c', 'write -P 1 0M 1M')
48 qemu_io(base_img_path, '-c', 'write -P 1 3M 1M')
49 qemu_img('create', '-f', iotests.imgfmt, '-b', base_img_path,
50 '-F', iotests.imgfmt, mid_img_path)
51 qemu_io(mid_img_path, '-c', 'write -P 3 2M 1M')
52 qemu_io(mid_img_path, '-c', 'write -P 3 4M 1M')
53 qemu_img('create', '-f', iotests.imgfmt, '-b', mid_img_path,
54 '-F', iotests.imgfmt, top_img_path)
55 qemu_io(top_img_path, '-c', 'write -P 2 1M 1M')
65 log('--- Doing COR ---')
70 log(vm.qmp('blockdev-add',
72 driver='copy-on-read',
81 'node-name': 'node2',
98 log(vm.qmp('human-monitor-command',
99 command_line='qemu-io node0 "read 0 5M"'))
104 log('--- Checking COR result ---')
108 qemu_img('rebase', '-u', '-b', '', '-f', iotests.imgfmt, top_img_path)
110 qemu_io(top_img_path, '-c', 'read -P 0 0 1M')
111 qemu_io(top_img_path, '-c', 'read -P 2 1M 1M')
112 qemu_io(top_img_path, '-c', 'read -P 3 2M 1M')
113 qemu_io(top_img_path, '-c', 'read -P 0 3M 1M')
114 qemu_io(top_img_path, '-c', 'read -P 3 4M 1M')