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