Home
last modified time | relevance | path

Searched refs:qemu_io (Results 1 – 25 of 44) sorted by relevance

12

/openbmc/qemu/tests/qemu-iotests/
H A D31024 from iotests import log, qemu_img, qemu_io
47 qemu_io(base_img_path, '-c', 'write -P 1 0M 1M')
48 qemu_io(base_img_path, '-c', 'write -P 1 3M 1M')
51 qemu_io(mid_img_path, '-c', 'write -P 3 2M 1M')
52 qemu_io(mid_img_path, '-c', 'write -P 3 4M 1M')
55 qemu_io(top_img_path, '-c', 'write -P 2 1M 1M')
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')
[all …]
H A D21624 from iotests import log, qemu_img, qemu_io
55 qemu_io(base_img_path, '-c', 'write -P 1 0M 1M')
58 qemu_io(top_img_path, '-c', 'write -P 2 1M 1M')
113 qemu_io(base_img_path, '-c', 'discard 0 64M')
114 qemu_io(top_img_path, '-c', 'read -P 1 0M 1M')
115 qemu_io(top_img_path, '-c', 'read -P 2 1M 1M')
H A D03026 from iotests import qemu_img, qemu_io
43 qemu_io('-f', 'raw', '-c', 'write -P 0x1 0 512', backing_img)
44 qemu_io('-f', iotests.imgfmt, '-c', 'write -P 0x1 524288 512', mid_img)
67 qemu_io('-f', 'raw', '-c', 'map', backing_img).stdout,
68 qemu_io('-f', iotests.imgfmt, '-c', 'map', test_img).stdout,
75 qemu_io('-f', 'raw', '-rU', '-c', 'map', backing_img).stdout,
76 qemu_io('-f', iotests.imgfmt, '-rU', '-c', 'map', mid_img).stdout,
87 qemu_io('-f', 'raw', '-c', 'map', backing_img).stdout,
88 qemu_io('-f', iotests.imgfmt, '-c', 'map', mid_img).stdout,
116 qemu_io('-f', 'raw', '-c', 'map', backing_img).stdout,
[all …]
H A D307117 qemu_io = iotests.QemuIoInteractive('-f', 'raw', nbd_url) variable
119 iotests.log(qemu_io.cmd('read -P 0x11 0 4k'),
121 iotests.log(qemu_io.cmd('write -P 0x22 4k 4k'),
127 qemu_io.close()
134 qemu_io = iotests.QemuIoInteractive('-f', 'raw', nbd_url) variable
139 iotests.log(qemu_io.cmd('read -P 0x11 0 4k'))
140 qemu_io.close()
H A D04028 from iotests import qemu_img, qemu_io
88 qemu_io('-f', 'raw', '-c', 'write -P 0xab 0 524288', backing_img)
89 qemu_io('-f', iotests.imgfmt, '-c', 'write -P 0xef 524288 524288',
106 qemu_io('-f', 'raw', '-c', 'read -P 0xab 0 524288', backing_img)
107 qemu_io('-f', 'raw', '-c', 'read -P 0xef 524288 524288', backing_img)
113 qemu_io('-f', 'raw', '-c', 'read -P 0xab 0 524288', backing_img)
114 qemu_io('-f', 'raw', '-c', 'read -P 0xef 524288 524288', backing_img)
193 qemu_io('-f', 'raw', '-c', 'read -P 0xab 0 524288', backing_img)
194 qemu_io('-f', 'raw', '-c', 'read -P 0xef 524288 524288', backing_img)
200 qemu_io('-f', 'raw', '-c', 'read -P 0xab 0 524288', backing_img)
[all …]
H A D24823 from iotests import qemu_img_create, qemu_io, file_path, filter_qmp_testfiles
33 qemu_io('-c', 'write 0 {}'.format(size), source)
36 qemu_io('-c', 'write 0 {}'.format(size), target)
H A D16323 from iotests import qemu_img, qemu_io, image_size
97 qemu_io('-c', 'write -P 0xff 0 ' + self.shrink_size, check_img)
116 qemu_io('-c', f"read -P 0x00 0 {self.shrink_size}", test_img)
123 qemu_io('-c', 'write -P 0xff %d %s' % (offs, self.chunk_size),
138 qemu_io('-c', 'write -P 0xff %d %s' % (offs, self.chunk_size),
H A D05627 from iotests import qemu_img, qemu_io, create_image
50 iotests.qemu_io('-c', 'write -P%s %s %s' % pattern, img)
60 qemu_io('-c', 'write -P0x41 0 512', test_img)
61 qemu_io('-c', 'write -P0xd5 1M 32k', test_img)
62 qemu_io('-c', 'write -P0xdc 32M 124k', test_img)
63 qemu_io('-c', 'write -P0xdc 67043328 64k', test_img)
103 qemu_io('-c', 'read -P0x41 0 512', target_img)
H A D25824 from iotests import log, qemu_img, qemu_io, \
89 qemu_io(node2_path,
96 qemu_io(node1_path, '-c', 'write %iK 64K' % (65536 - 64))
H A D20923 from iotests import qemu_img_create, qemu_io, qemu_img_log, qemu_nbd, \
33 qemu_io('-f', iotests.imgfmt, '-c', 'write 0 512K', disk)
H A D13225 from iotests import qemu_img, qemu_io
36 qemu_io('-f', iotests.imgfmt, '-c', 'write -P0x5d 0 2M', test_img)
H A D20526 from iotests import qemu_img_create, qemu_io, filter_qemu_io, QemuIoInteractive
86 self.assertReadOk(qemu_io(*args).stdout)
92 self.assertConnectFailed(qemu_io(*args, check=False).stdout)
H A D30235 qemu_io,
46 qemu_io("-f", iotests.imgfmt, "-c", "write 1m 64k", src_disk)
H A D22425 from iotests import log, qemu_img, qemu_io, filter_qmp_testfiles, \
57 qemu_io(mid_img_path, '-c', 'write -P 1 0 1M')
H A D05527 from iotests import qemu_img, qemu_io
37 qemu_io('-f', iotests.imgfmt, '-c', 'write -P0x11 0 64k', test_img)
38 qemu_io('-f', iotests.imgfmt, '-c', 'write -P0x00 64k 128k', test_img)
39 qemu_io('-f', iotests.imgfmt, '-c', 'write -P0x22 162k 32k', test_img)
40 qemu_io('-f', iotests.imgfmt, '-c', 'write -P0xd5 1M 32k', test_img)
41 qemu_io('-f', iotests.imgfmt, '-c', 'write -P0xdc 32M 124k', test_img)
42 qemu_io('-f', iotests.imgfmt, '-c', 'write -P0x33 67043328 64k', test_img)
H A D21831 from iotests import log, qemu_img, qemu_io
145 qemu_io('-f', iotests.imgfmt, src_img_path, '-c', 'write -P 42 0M 64M')
/openbmc/qemu/tests/qemu-iotests/tests/
H A Dgraph-changes-while-io25 from iotests import imgfmt, qemu_img, qemu_img_create, qemu_io, \
90 qemu_io('-c', 'write 0 64k', top)
91 qemu_io('-c', 'write 128k 64k', top)
H A Dmigration-permissions24 from iotests import imgfmt, qemu_img_create, qemu_io
76 qemu_io('-f', imgfmt, '-c', 'quit', test_img)
90 qemu_io('-f', imgfmt, '-c', 'quit', test_img)
H A Dimage-fleecing28 from iotests import log, qemu_img, qemu_io
81 qemu_io('-f', iotests.imgfmt,
191 qemu_io('-r', '-f', 'raw', '-c', cmd, nbd_uri)
237 qemu_io(*args)
272 qemu_io(base_img_path, '-c', cmd)
H A Dnbd-reconnect-on-open.out7 qemu_io finished in 0..0.2 seconds, OK
11 qemu_io finished in 1..1.2 seconds, OK
H A Dstream-unaligned-prefetch25 from iotests import imgfmt, qemu_img_create, qemu_io, QMPTestCase
47 qemu_io('-c', f'write 0 {cluster_size // 2}', base)
H A Diothreads-nbd-export54 qemu_io = iotests.QemuIoInteractive('-f', 'raw', variable
65 qemu_io.close()
H A Dstream-error-on-reset24 from iotests import imgfmt, qemu_img_create, qemu_io, QMPTestCase
58 qemu_io('-c', f'write 0 {data_size}', base)
H A Dmigrate-during-backup22 from iotests import qemu_img_create, qemu_io
42 qemu_io('-c', f'write 0 {size}', disk_a)
H A Dstream-under-throttle26 from iotests import qemu_img_create, qemu_io
62 qemu_io(base_img, '-c', f'write 0 {image_size}')

12