diff options
author | Stefan Berger <stefanb@linux.ibm.com> | 2021-08-02 17:52:37 -0400 |
---|---|---|
committer | Stefan Berger <stefanb@linux.ibm.com> | 2021-08-31 17:33:10 -0400 |
commit | 9bd0e32a194826facff4e12d2cc8ba027dc107cb (patch) | |
tree | a576c4562611a15d7ff93fc802af2f97cd34172a /tests/qtest/tpm-emu.c | |
parent | d52dff5d8048d4982437db9606c27bb4127cf9d0 (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.c | 6 |
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; |