libqos: Use explicit QTestState for rtas operations
commit9b67af76dbe62960794055a732f1e47680621192
authorEric Blake <eblake@redhat.com>
Mon, 11 Sep 2017 17:19:58 +0000 (11 12:19 -0500)
committerThomas Huth <thuth@redhat.com>
Wed, 14 Feb 2018 10:43:41 +0000 (14 11:43 +0100)
treec4e29d7b40462befc25f27006a1ad8c90ba8a406
parent05e520f1c7f6ac7a142c616883e00c8924e81331
libqos: Use explicit QTestState for rtas operations

Drop one more client of global_qtest by teaching all rtas test
functionality to pass in an explicit QTestState, adjusting all
callers.

Signed-off-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
[thuth: Use nicer indentation in rtas.h]
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/libqos/pci-spapr.c
tests/libqos/rtas.c
tests/libqos/rtas.h
tests/rtas-test.c