]> git.proxmox.com Git - mirror_qemu.git/commit
tpm: lookup cancel path under tpm device class
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 29 Jan 2018 18:33:04 +0000 (19:33 +0100)
committerStefan Berger <stefanb@linux.vnet.ibm.com>
Mon, 29 Jan 2018 19:22:08 +0000 (14:22 -0500)
commit05b71fb207ab7f016e067bd2a40fc0804362eb74
tree26b98743b77c82475dc7f4a601277dc418144975
parentcc1b6c5533b77eac7caea269897b03a940797a8c
tpm: lookup cancel path under tpm device class

Since Linux commit 313d21eeab9282e, tpm devices have their own device
class "tpm" and the cancel path must be looked up under
/sys/class/tpm/ instead of /sys/class/misc/.

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>
hw/tpm/tpm_passthrough.c