summaryrefslogtreecommitdiff
path: root/tests/test-hmp.c
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2017-03-30 09:50:06 +0200
committerDr. David Alan Gilbert <dgilbert@redhat.com>2017-04-26 14:42:31 +0100
commit02ef6e878f4c013889767ef239901962600de545 (patch)
tree729c2017da62bbca1100cb763871ef4885a2beb6 /tests/test-hmp.c
parent6bb87be8938691fa5cf989b7517d7d2084b8c141 (diff)
downloadqemu-02ef6e878f4c013889767ef239901962600de545.tar.gz
libqtest: Add a generic function to run a callback function for every machine
Some tests need to run single tests for every available machine of the current QEMU binary. To avoid code duplication, let's extract this code that deals with 'query-machines' into a separate function. Signed-off-by: Thomas Huth <thuth@redhat.com> Message-Id: <1490860207-8302-3-git-send-email-thuth@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'tests/test-hmp.c')
0 files changed, 0 insertions, 0 deletions