Lines Matching +full:base +full:- +full:64
30 base, top = file_path('base', 'top') variable
31 size = 64 * 1024 * 3
35 result = vm.qmp('query-block')['return'][0]
37 if 'dirty-bitmaps' in info:
38 bitmap = info['dirty-bitmaps'][0]
39 log('{}: name={} dirty-clusters={}'.format(msg, bitmap['name'],
40 bitmap['count'] // 64 // 1024))
48 '' if persistent else 'non-', 'with' if restart else 'without'))
50 qemu_img_create('-f', iotests.imgfmt, base, str(size))
52 vm = iotests.VM().add_drive(base)
55 vm.qmp_log('block-dirty-bitmap-add', node='drive0', name='bitmap0',
57 vm.hmp_qemu_io('drive0', 'write 0 64K')
60 vm.qmp_log('blockdev-snapshot-sync', device='drive0', snapshot_file=top,
62 vm.hmp_qemu_io('drive0', 'write 64K 512')
71 vm.qmp_log('block-commit', device='drive0', top=top,
81 vm.qmp_log('block-job-complete', device='drive0')
86 vm.hmp_qemu_io('drive0', 'write 128K 64K')