[CentOS-virt] We need a patch in the kernel for tpm
dag at newtech.fi
Thu Sep 13 12:42:48 UTC 2018
On torsdag 13 september 2018 kl. 12:58:03 EEST George Dunlap wrote:
Just verified after a lengthy compilation of the kernel
that the patch really works and now I can see a TPM on
the virtual side!
> Thanks for tracking this down. Any chance you could send a PR to
I will definitely join that mailing list. Have a feeling this is not the
last problem I will see :-)
> Otherwise, Anthony or I will take a look when we get a chance.
But I would appreciate it if somebody used to the
procedures would pick it up from here.
The patch was the following:
diff --git a/drivers/char/tpm/xen-tpmfront.c b/drivers/char/tpm/xen-tpmfront.c
index 5aaa268..dd83a07 100644
@@ -203,7 +203,7 @@ static int setup_ring(struct xenbus_device *dev, struct tpm_private *priv)
- rv = xenbus_grant_ring(dev, &priv->shr, 1, &gref);
+ rv = xenbus_grant_ring(dev, priv->shr, 1, &gref);
if (rv < 0)
More information about the CentOS-virt