xref: /openbmc/qemu/tests/qtest/tpm-tests.h (revision 551cabdf)
11e8a1faeSThomas Huth /*
21e8a1faeSThomas Huth  * QTest TPM commont test code
31e8a1faeSThomas Huth  *
41e8a1faeSThomas Huth  * Copyright (c) 2018 IBM Corporation
51e8a1faeSThomas Huth  *
61e8a1faeSThomas Huth  * Authors:
71e8a1faeSThomas Huth  *   Stefan Berger <stefanb@linux.vnet.ibm.com>
81e8a1faeSThomas Huth  *
91e8a1faeSThomas Huth  * This work is licensed under the terms of the GNU GPL, version 2 or later.
101e8a1faeSThomas Huth  * See the COPYING file in the top-level directory.
111e8a1faeSThomas Huth  */
121e8a1faeSThomas Huth 
131e8a1faeSThomas Huth #ifndef TESTS_TPM_TESTS_H
141e8a1faeSThomas Huth #define TESTS_TPM_TESTS_H
151e8a1faeSThomas Huth 
161e8a1faeSThomas Huth #include "tpm-util.h"
171e8a1faeSThomas Huth 
181e8a1faeSThomas Huth void tpm_test_swtpm_test(const char *src_tpm_path, tx_func *tx,
19*551cabdfSEric Auger                          const char *ifmodel, const char *machine_options);
201e8a1faeSThomas Huth 
211e8a1faeSThomas Huth void tpm_test_swtpm_migration_test(const char *src_tpm_path,
221e8a1faeSThomas Huth                                    const char *dst_tpm_path,
231e8a1faeSThomas Huth                                    const char *uri, tx_func *tx,
24*551cabdfSEric Auger                                    const char *ifmodel,
25*551cabdfSEric Auger                                    const char *machine_options);
261e8a1faeSThomas Huth 
271e8a1faeSThomas Huth #endif /* TESTS_TPM_TESTS_H */
28