On 04/15/2013 03:08 PM, Stefan Berger wrote: > Simplify the creation of the cancel path given the TPM's device path. > Given the path /dev/tpm0 build the path /sys/class/misc/tpm0/device/cancel. > > Signed-off-by: Stefan Berger > > --- > tpm/tpm_passthrough.c | 74 +++++++++++--------------------------------------- > 1 file changed, 17 insertions(+), 57 deletions(-) Reviewed-by: Eric Blake and matches a counterpart change you proposed for libvirt. -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org