iotests.py: Add node_info()
commitef7afd63997d2928bcda9230b36c8fb6b08266bd
authorMax Reitz <mreitz@redhat.com>
Fri, 1 Feb 2019 19:29:11 +0000 (1 20:29 +0100)
committerMax Reitz <mreitz@redhat.com>
Mon, 25 Feb 2019 14:11:26 +0000 (25 15:11 +0100)
tree2fc595715c2c868a272d03145bce20f1b5abadbd
parentf2ea0b2082ef2783abb5dfef0e8cab3d41ac6d5f
iotests.py: Add node_info()

This function queries a node; since we cannot do that right now, it
executes query-named-block-nodes and returns the matching node's object.

Signed-off-by: Max Reitz <mreitz@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Message-id: 20190201192935.18394-8-mreitz@redhat.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
tests/qemu-iotests/iotests.py