test: tpm: pass optional machine options to swtpm test functions
[qemu/ar7.git] / tests / qtest / tpm-tests.h
bloba5df35ab5ba7685587400dbad7dec2bbcbffae1d
1 /*
2 * QTest TPM commont test code
4 * Copyright (c) 2018 IBM Corporation
6 * Authors:
7 * Stefan Berger <stefanb@linux.vnet.ibm.com>
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.
13 #ifndef TESTS_TPM_TESTS_H
14 #define TESTS_TPM_TESTS_H
16 #include "tpm-util.h"
18 void tpm_test_swtpm_test(const char *src_tpm_path, tx_func *tx,
19 const char *ifmodel, const char *machine_options);
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);
27 #endif /* TESTS_TPM_TESTS_H */