xref: /openbmc/qemu/tests/qtest/tpm-tests.h (revision 1e8a1fae)
1*1e8a1faeSThomas Huth /*
2*1e8a1faeSThomas Huth  * QTest TPM commont test code
3*1e8a1faeSThomas Huth  *
4*1e8a1faeSThomas Huth  * Copyright (c) 2018 IBM Corporation
5*1e8a1faeSThomas Huth  *
6*1e8a1faeSThomas Huth  * Authors:
7*1e8a1faeSThomas Huth  *   Stefan Berger <stefanb@linux.vnet.ibm.com>
8*1e8a1faeSThomas Huth  *
9*1e8a1faeSThomas Huth  * This work is licensed under the terms of the GNU GPL, version 2 or later.
10*1e8a1faeSThomas Huth  * See the COPYING file in the top-level directory.
11*1e8a1faeSThomas Huth  */
12*1e8a1faeSThomas Huth 
13*1e8a1faeSThomas Huth #ifndef TESTS_TPM_TESTS_H
14*1e8a1faeSThomas Huth #define TESTS_TPM_TESTS_H
15*1e8a1faeSThomas Huth 
16*1e8a1faeSThomas Huth #include "tpm-util.h"
17*1e8a1faeSThomas Huth 
18*1e8a1faeSThomas Huth void tpm_test_swtpm_test(const char *src_tpm_path, tx_func *tx,
19*1e8a1faeSThomas Huth                          const char *ifmodel);
20*1e8a1faeSThomas Huth 
21*1e8a1faeSThomas Huth void tpm_test_swtpm_migration_test(const char *src_tpm_path,
22*1e8a1faeSThomas Huth                                    const char *dst_tpm_path,
23*1e8a1faeSThomas Huth                                    const char *uri, tx_func *tx,
24*1e8a1faeSThomas Huth                                    const char *ifmodel);
25*1e8a1faeSThomas Huth 
26*1e8a1faeSThomas Huth #endif /* TESTS_TPM_TESTS_H */
27