diff options
author | Andrea Bolognani <abologna@redhat.com> | 2019-10-22 15:44:37 +0200 |
---|---|---|
committer | Andrea Bolognani <abologna@redhat.com> | 2019-10-24 17:21:12 +0200 |
commit | 5a45ed9c9626edc2281b3745ac29158d651e5e7f (patch) | |
tree | 270beab1dd996784cd1631c21f3718987d62f92c /tests/testutilsqemu.h | |
parent | 51495a4d73bd2c940a61b0fb6dfdb1f3e5a52686 (diff) | |
download | libvirt-5a45ed9c9626edc2281b3745ac29158d651e5e7f.tar.gz |
tests: testQemuCapsIterate: Pass suffix to callback
Right now users need to hardcode the suffix, which is not a big
deal since they're the ones who passed it to testQemuCapsIterate()
in the first place; however, since we're already passing most of
the information to the callback and we're going to add more later
on, it makes sense to be consistent and pass the suffix too.
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
Diffstat (limited to 'tests/testutilsqemu.h')
-rw-r--r-- | tests/testutilsqemu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/testutilsqemu.h b/tests/testutilsqemu.h index 07373f8ce6..2c8c4960e9 100644 --- a/tests/testutilsqemu.h +++ b/tests/testutilsqemu.h @@ -99,6 +99,7 @@ virHashTablePtr testQemuGetLatestCaps(void); typedef int (*testQemuCapsIterateCallback)(const char *inputDir, const char *base, const char *archName, + const char *suffix, void *opaque); int testQemuCapsIterate(const char *suffix, testQemuCapsIterateCallback callback, |