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.h | |
parent | d52dff5d8048d4982437db9606c27bb4127cf9d0 (diff) | |
download | qemu-9bd0e32a194826facff4e12d2cc8ba027dc107cb.zip qemu-9bd0e32a194826facff4e12d2cc8ba027dc107cb.tar.gz qemu-9bd0e32a194826facff4e12d2cc8ba027dc107cb.tar.bz2 |
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.h')
-rw-r--r-- | tests/qtest/tpm-emu.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/qtest/tpm-emu.h b/tests/qtest/tpm-emu.h index 73f3bed..b066ad6 100644 --- a/tests/qtest/tpm-emu.h +++ b/tests/qtest/tpm-emu.h @@ -26,7 +26,7 @@ struct tpm_hdr { char buffer[]; } QEMU_PACKED; -typedef struct TestState { +typedef struct TPMTestState { GMutex data_mutex; GCond data_cond; bool data_cond_signal; @@ -34,9 +34,9 @@ typedef struct TestState { QIOChannel *tpm_ioc; GThread *emu_tpm_thread; struct tpm_hdr *tpm_msg; -} TestState; +} TPMTestState; -void tpm_emu_test_wait_cond(TestState *s); +void tpm_emu_test_wait_cond(TPMTestState *s); void *tpm_emu_ctrl_thread(void *data); #endif /* TESTS_TPM_EMU_H */ |