iotests: add filter_qmp_generated_node_ids()
commitda62b507a20510d819bcfbe8f5e573409b954006
authorStefan Hajnoczi <stefanha@redhat.com>
Thu, 18 Jan 2024 14:48:21 +0000 (18 09:48 -0500)
committerKevin Wolf <kwolf@redhat.com>
Fri, 26 Jan 2024 10:16:58 +0000 (26 11:16 +0100)
treef78437a47a294d5f6eb4d1f3c77da0fc971a52f1
parent72098a3aba7a7fccd7d1287c2ff88c1dac9b807d
iotests: add filter_qmp_generated_node_ids()

Add a filter function for QMP responses that contain QEMU's
automatically generated node ids. The ids change between runs and must
be masked in the reference output.

The next commit will use this new function.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-ID: <20240118144823.1497953-2-stefanha@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
tests/qemu-iotests/iotests.py