Signed-off-by: Marc-André Lureau <[email protected]>
---
tests/qemu-iotests/260 | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/tests/qemu-iotests/260 b/tests/qemu-iotests/260
index 65165446607c..6ca173aa020b 100755
--- a/tests/qemu-iotests/260
+++ b/tests/qemu-iotests/260
@@ -24,8 +24,7 @@ from iotests import qemu_img_create, file_path, log,
filter_qmp_event
iotests.script_initialize(
supported_fmts=['qcow2'],
- unsupported_imgopts=['compat'],
- require_hmp=True,
+ unsupported_imgopts=['compat']
)
base, top = file_path('base', 'top')
@@ -55,12 +54,12 @@ def test(persistent, restart):
vm.qmp_log('block-dirty-bitmap-add', node='drive0', name='bitmap0',
persistent=persistent)
- vm.hmp_qemu_io('drive0', 'write 0 64K')
+ vm.qmp_qemu_io('drive0', 'write 0 64K')
print_bitmap('initial bitmap', vm)
vm.qmp_log('blockdev-snapshot-sync', device='drive0', snapshot_file=top,
format=iotests.imgfmt, filters=[iotests.filter_qmp_testfiles])
- vm.hmp_qemu_io('drive0', 'write 64K 512')
+ vm.qmp_qemu_io('drive0', 'write 64K 512')
print_bitmap('check that no bitmaps are in snapshot', vm)
if restart:
@@ -84,7 +83,7 @@ def test(persistent, restart):
log(filter_qmp_event(ev))
print_bitmap('check bitmap after commit', vm)
- vm.hmp_qemu_io('drive0', 'write 128K 64K')
+ vm.qmp_qemu_io('drive0', 'write 128K 64K')
print_bitmap('check updated bitmap', vm)
vm.shutdown()
--
2.56.0.rc0.29.g47ce80527c56