Lines Matching +full:non +full:- +full:persistent
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'],
45 def test(persistent, restart): argument
46 assert persistent or not restart
47 log("\nTestcase {}persistent {} restart\n".format(
48 '' if persistent else 'non-', 'with' if restart else 'without'))
50 qemu_img_create('-f', iotests.imgfmt, base, str(size))
55 vm.qmp_log('block-dirty-bitmap-add', node='drive0', name='bitmap0',
56 persistent=persistent)
60 vm.qmp_log('blockdev-snapshot-sync', device='drive0', snapshot_file=top,
71 vm.qmp_log('block-commit', device='drive0', top=top,
81 vm.qmp_log('block-job-complete', device='drive0')
92 test(persistent=False, restart=False)
93 test(persistent=True, restart=False)
94 test(persistent=True, restart=True)