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

Drop one more client of global_qtest by teaching all i2c 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>
Signed-off-by: Thomas Huth <thuth@redhat.com>
tests/ds1338-test.c
tests/libqos/i2c-imx.c
tests/libqos/i2c-omap.c
tests/libqos/i2c.h
tests/tmp105-test.c