]> git.ipfire.org Git - thirdparty/qemu.git/commit
iotests: add filter_qmp_generated_node_ids()
authorStefan Hajnoczi <stefanha@redhat.com>
Thu, 18 Jan 2024 14:48:21 +0000 (09:48 -0500)
committerMichael Tokarev <mjt@tls.msk.ru>
Fri, 26 Jan 2024 16:31:37 +0000 (19:31 +0300)
commit03bc938fbfcde3cdc11eb00d30b407d2dd80448d
treed3147ee45fd04bf17125c51d0062a55bc7ae9278
parent23a512f418daa8daca774535eb5af33c4bc04640
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>
(cherry picked from commit da62b507a20510d819bcfbe8f5e573409b954006)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
tests/qemu-iotests/iotests.py