aboutsummaryrefslogtreecommitdiff
path: root/tests/tpm-tests.h
diff options
context:
space:
mode:
authorStefan Berger <stefanb@linux.vnet.ibm.com>2018-05-30 14:31:12 -0400
committerStefan Berger <stefanb@linux.vnet.ibm.com>2018-06-06 15:44:07 -0400
commitea71a3369164685d4daeeeac9dfe85a64eeeb877 (patch)
tree5e1296cc5caa3b4f10d1ce47609b7a0927bd735c /tests/tpm-tests.h
parent2b4ccb87ec498184de50068f840eec7426d5da2a (diff)
downloadqemu-ea71a3369164685d4daeeeac9dfe85a64eeeb877.zip
qemu-ea71a3369164685d4daeeeac9dfe85a64eeeb877.tar.gz
qemu-ea71a3369164685d4daeeeac9dfe85a64eeeb877.tar.bz2
test: Pass TPM interface model to functions creating command line
Pass the TPM interface model, such as 'tpm-crb', through to the functions that create the command line for QEMU. Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Diffstat (limited to 'tests/tpm-tests.h')
-rw-r--r--tests/tpm-tests.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/tpm-tests.h b/tests/tpm-tests.h
index 377f184..b97688f 100644
--- a/tests/tpm-tests.h
+++ b/tests/tpm-tests.h
@@ -15,10 +15,12 @@
#include "tpm-util.h"
-void tpm_test_swtpm_test(const char *src_tpm_path, tx_func *tx);
+void tpm_test_swtpm_test(const char *src_tpm_path, tx_func *tx,
+ const char *ifmodel);
void tpm_test_swtpm_migration_test(const char *src_tpm_path,
const char *dst_tpm_path,
- const char *uri, tx_func *tx);
+ const char *uri, tx_func *tx,
+ const char *ifmodel);
#endif /* TESTS_TPM_TESTS_H */