aboutsummaryrefslogtreecommitdiff
path: root/tests/tpm-crb-swtpm-test.c
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-crb-swtpm-test.c
parent2b4ccb87ec498184de50068f840eec7426d5da2a (diff)
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-crb-swtpm-test.c')
-rw-r--r--tests/tpm-crb-swtpm-test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tpm-crb-swtpm-test.c b/tests/tpm-crb-swtpm-test.c
index 4acffff568..8c0a55f3ca 100644
--- a/tests/tpm-crb-swtpm-test.c
+++ b/tests/tpm-crb-swtpm-test.c
@@ -28,7 +28,7 @@ static void tpm_crb_swtpm_test(const void *data)
{
const TestState *ts = data;
- tpm_test_swtpm_test(ts->src_tpm_path, tpm_util_crb_transfer);
+ tpm_test_swtpm_test(ts->src_tpm_path, tpm_util_crb_transfer, "tpm-crb");
}
static void tpm_crb_swtpm_migration_test(const void *data)
@@ -36,7 +36,7 @@ static void tpm_crb_swtpm_migration_test(const void *data)
const TestState *ts = data;
tpm_test_swtpm_migration_test(ts->src_tpm_path, ts->dst_tpm_path, ts->uri,
- tpm_util_crb_transfer);
+ tpm_util_crb_transfer, "tpm-crb");
}
int main(int argc, char **argv)