tpm-emulator icon indicating copy to clipboard operation
tpm-emulator copied to clipboard

Fix xen-tpmfront timeouts

Open jandryuk opened this issue 3 years ago • 0 comments

Linux adjusts the timeouts since they should be in microseconds, but seem to be in milliseconds. Correct that for timeouts and duration since they should both be in microseconds.

Testing with Xen vtpm stubdoms and Linux 5.4, I was seeing commands fail with -ETIME. Increasing the command duration fixes that. I took them from a real TPM1.2. The tpm_emulator should beat that, but I'd rather give it more time than have commands time out.

jandryuk avatar Mar 16 '21 15:03 jandryuk