]> xenbits.xensource.com Git - libvirt.git/commit
tests: Introduce testQemuCapsIterate()
authorAndrea Bolognani <abologna@redhat.com>
Thu, 7 Mar 2019 14:54:55 +0000 (15:54 +0100)
committerAndrea Bolognani <abologna@redhat.com>
Wed, 13 Mar 2019 10:07:10 +0000 (11:07 +0100)
commit30439c1b81e6e3455d5f01e275f8361ac217461d
treedfcbaeab9598d0d38e0fd64f2744e4dcc2183972
parent6000bd134260d19292441d8d60a2fc2fb5d110f8
tests: Introduce testQemuCapsIterate()

This function iterates over a directory containing
capabilities-related data, extract some useful bits of
information from the file name, and calls a user-provided
callback.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Acked-by: Peter Krempa <pkrempa@redhat.com>
tests/testutilsqemu.c
tests/testutilsqemu.h