]> git.ipfire.org Git - thirdparty/libvirt.git/commit
tpm: Use /dev/null for cancel path if none was found
authorStefan Berger <stefanb@linux.vnet.ibm.com>
Thu, 29 Jun 2017 18:01:11 +0000 (14:01 -0400)
committerJiri Denemark <jdenemar@redhat.com>
Thu, 7 Sep 2017 12:00:46 +0000 (14:00 +0200)
commitdfbb15b75433e520fb1b905c1c3e28753e53e4a5
treeab9f207b0cd2f2386e3b026fe86f83b8bd9757e1
parenta0b628432a11ec97bbda9893504fb8180c36186e
tpm: Use /dev/null for cancel path if none was found

TPM 2 does not implement sysfs files for cancellation of commands.
We therefore use /dev/null for the cancel path passed to QEMU.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Tested-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
src/util/virtpm.c