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

diff --git a/tests/qemu-iotests/152 b/tests/qemu-iotests/152
index d9170359213a..f25c706273a3 100755
--- a/tests/qemu-iotests/152
+++ b/tests/qemu-iotests/152
@@ -52,7 +52,7 @@ class TestUnaligned(iotests.QMPTestCase):
         self.vm.cmd('drive-mirror', device='drive0', sync='full',
                     granularity=65536, target=target_img)
         self.wait_ready()
-        self.vm.hmp_qemu_io('drive0', 'write 0 512')
+        self.vm.qmp_qemu_io('drive0', 'write 0 512')
         self.complete_and_wait(wait_ready=False)
         self.vm.shutdown()
         self.assertEqual(iotests.image_size(test_img), 
iotests.image_size(target_img),
@@ -61,5 +61,4 @@ class TestUnaligned(iotests.QMPTestCase):
 
 if __name__ == '__main__':
     iotests.main(supported_fmts=['raw', 'qcow2'],
-                 supported_protocols=['file'],
-                 require_hmp=True)
+                 supported_protocols=['file'])

-- 
2.56.0.rc0.29.g47ce80527c56


Reply via email to