aboutsummaryrefslogtreecommitdiff
path: root/tests/qtest/tpm-emu.h
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.h
parentd52dff5d8048d4982437db9606c27bb4127cf9d0 (diff)
downloadqemu-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.h6
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 */