iotests: refactor some common qmp result checks into generic pattern
commitd24eb059faf321fb552cf96a2a1e88e5651347c1
authorVladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Fri, 6 Oct 2023 15:41:19 +0000 (6 18:41 +0300)
committerJohn Snow <jsnow@redhat.com>
Thu, 12 Oct 2023 18:21:44 +0000 (12 14:21 -0400)
tree3025b4d3b7b4c9bd0fd6fe4022fa8c4a01a64888
parentf7ccc3295b3d7c49d4a7a3d42242cd5b50111e35
iotests: refactor some common qmp result checks into generic pattern

To simplify further conversion.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 20231006154125.1068348-10-vsementsov@yandex-team.ru
Signed-off-by: John Snow <jsnow@redhat.com>
tests/qemu-iotests/040
tests/qemu-iotests/147
tests/qemu-iotests/155
tests/qemu-iotests/218
tests/qemu-iotests/296