]> git.ipfire.org Git - thirdparty/libvirt.git/commit
testutilsqemuschema: Pass in 'schema' and 'debug' variables to workers in a struct
authorPeter Krempa <pkrempa@redhat.com>
Wed, 29 Apr 2020 15:31:20 +0000 (17:31 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 20 May 2020 06:53:29 +0000 (08:53 +0200)
commit2c44ea900eee6d33b8cc508c051d71d377fc7705
tree4624e4ffeb6ac103a6537009a280cf932f2e9e86
parent47bc49879f9e9b1ed15870926228fea470c5f5f9
testutilsqemuschema: Pass in 'schema' and 'debug' variables to workers in a struct

Refactor the code so that we pass in the repeated 'schema' and 'debug'
arguments via a new struct testQEMUSchemaValidateCtxt. This will
simplify adding new parameters in the future.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/testutilsqemuschema.c