Signed-off-by: Marc-André Lureau <[email protected]>
---
 tests/qemu-iotests/255 | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/tests/qemu-iotests/255 b/tests/qemu-iotests/255
index 8f88522f1e91..83c2246db3b2 100755
--- a/tests/qemu-iotests/255
+++ b/tests/qemu-iotests/255
@@ -24,8 +24,7 @@
 import iotests
 from iotests import imgfmt
 
-iotests.script_initialize(supported_fmts=['qcow2'],
-                          require_hmp=True)
+iotests.script_initialize(supported_fmts=['qcow2'])
 
 iotests.log('Finishing a commit job with background reads')
 iotests.log('============================================')
@@ -62,8 +61,8 @@ with iotests.FilePath('t.qcow2') as disk_path, \
     iotests.log("")
 
     def start_requests():
-        vm.hmp_qemu_io('overlay', 'aio_read 0 4k')
-        vm.hmp_qemu_io('overlay', 'aio_read 0 4k')
+        vm.qmp_qemu_io('overlay', 'aio_read 0 4k')
+        vm.qmp_qemu_io('overlay', 'aio_read 0 4k')
 
     start_requests()
 

-- 
2.56.0.rc0.29.g47ce80527c56


Reply via email to