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

diff --git a/tests/qemu-iotests/tests/migrate-bitmaps-postcopy-test 
b/tests/qemu-iotests/tests/migrate-bitmaps-postcopy-test
index b2b37ada4b27..6a424835d9f1 100755
--- a/tests/qemu-iotests/tests/migrate-bitmaps-postcopy-test
+++ b/tests/qemu-iotests/tests/migrate-bitmaps-postcopy-test
@@ -52,7 +52,7 @@ discards2 = (
 
 def apply_discards(vm, discards):
     for d in discards:
-        vm.hmp_qemu_io('drive0', 'discard {} {}'.format(*d))
+        vm.qmp_qemu_io('drive0', 'discard {} {}'.format(*d))
 
 
 def event_seconds(event):
@@ -279,5 +279,4 @@ class TestDirtyBitmapPostcopyMigration(iotests.QMPTestCase):
 
 if __name__ == '__main__':
     iotests.main(supported_fmts=['qcow2'],
-                 unsupported_imgopts=['compat'],
-                 require_hmp=True)
+                 unsupported_imgopts=['compat'])

-- 
2.56.0.rc0.29.g47ce80527c56


Reply via email to