aboutsummaryrefslogtreecommitdiff
path: root/tests/qtest/tpm-emu.c
diff options
context:
space:
mode:
authorStefan Berger <stefanb@linux.ibm.com>2021-08-02 17:52:37 -0400
committerStefan Berger <stefanb@linux.ibm.com>2021-08-31 17:33:10 -0400
commit9bd0e32a194826facff4e12d2cc8ba027dc107cb (patch)
treea576c4562611a15d7ff93fc802af2f97cd34172a /tests/qtest/tpm-emu.c
parentd52dff5d8048d4982437db9606c27bb4127cf9d0 (diff)
tests: Rename TestState to TPMTestState
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Message-id: 20210802215246.1433175-2-stefanb@linux.ibm.com
Diffstat (limited to 'tests/qtest/tpm-emu.c')
-rw-r--r--tests/qtest/tpm-emu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/qtest/tpm-emu.c b/tests/qtest/tpm-emu.c
index 2e8eb7b94f..b9cddcc240 100644
--- a/tests/qtest/tpm-emu.c
+++ b/tests/qtest/tpm-emu.c
@@ -18,7 +18,7 @@
#include "qapi/error.h"
#include "tpm-emu.h"
-void tpm_emu_test_wait_cond(TestState *s)
+void tpm_emu_test_wait_cond(TPMTestState *s)
{
gint64 end_time = g_get_monotonic_time() + 5 * G_TIME_SPAN_SECOND;
@@ -36,7 +36,7 @@ void tpm_emu_test_wait_cond(TestState *s)
static void *tpm_emu_tpm_thread(void *data)
{
- TestState *s = data;
+ TPMTestState *s = data;
QIOChannel *ioc = s->tpm_ioc;
s->tpm_msg = g_new(struct tpm_hdr, 1);
@@ -71,7 +71,7 @@ static void *tpm_emu_tpm_thread(void *data)
void *tpm_emu_ctrl_thread(void *data)
{
- TestState *s = data;
+ TPMTestState *s = data;
QIOChannelSocket *lioc = qio_channel_socket_new();
QIOChannel *ioc;