diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2017-11-06 19:39:11 +0100 |
---|---|---|
committer | Stefan Berger <stefanb@linux.vnet.ibm.com> | 2017-12-14 23:39:14 -0500 |
commit | bef2ed3fd2454586a7c1132ad574b891741d12c6 (patch) | |
tree | 6dd848d25b33fe14adc5671ef78965ac45f263aa /tpm.c | |
parent | 8df4d8484f607d4973e66e93f2eba0b3f80c4238 (diff) |
tpm-passthrough: simplify create()
Use a similar code as tpm_emulator_create(), call handle_opts() and
handle failure cleanup with object_unref() in create().
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Diffstat (limited to 'tpm.c')
0 files changed, 0 insertions, 0 deletions