]> git.ipfire.org Git - thirdparty/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)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Thu, 21 Jun 2018 01:45:08 +0000 (20:45 -0500)
commit1e13e7d93b93885d8a27fd18ec8a4b865a70e2ea
tree4fde50bdd9692a7a59dffe57db3229c7f8505391
parenta36591fa622a92134d11b3d05746c3c55f638966
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>
(cherry picked from commit 05b71fb207ab7f016e067bd2a40fc0804362eb74)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/tpm/tpm_passthrough.c