Mailing List Archive

How to use the vTPM backend driver in the pv-ops kernel
Hi,

I cannot find the vTPM config option CONFIG_XEN_TPMDEV_BACKEND in the config file of pv-ops kernel, such as kernel 2.6.32.50. However, this option exists in the config file of kernel version 2.6.18.8. I also cannot find the vTPM backed driver (such as linux-2.6.18-xen.hg/drivers/xen/tpmback ) in the pv-ops kernel.
So, how can I configure and use the vTPM backend driver in kernel 2.6.32?
Thank you for any advice.



Best Regards,
Gavin
Re: How to use the vTPM backend driver in the pv-ops kernel [ In reply to ]
On Sun, Dec 23, 2012 at 01:50:16AM +0800, gavin wrote:
> Hi,
>
> I cannot find the vTPM config option CONFIG_XEN_TPMDEV_BACKEND in the
> config file of pv-ops kernel, such as kernel 2.6.32.50. However, this
> option exists in the config file of kernel version 2.6.18.8. I also cannot
> find the vTPM backed driver (such as
> linux-2.6.18-xen.hg/drivers/xen/tpmback ) in the pv-ops kernel.
> So, how can I configure and use the vTPM backend driver in kernel 2.6.32?
> Thank you for any advice.
>

I don't think vtpm drivers were ported to 2.6.32 pvops.
Recently there has been work on porting the drivers to upstream Linux 3.x,
but they aren't merged yet iirc.

If you need to use them with 2.6.32 you need to port them yourself..

-- Pasi


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
Re: How to use the vTPM backend driver in the pv-ops kernel [ In reply to ]
Hi Pasi,


Thank you very much for your information.


Best Regards,
Gavin


At 2012-12-23 06:04:08,"Pasi Kärkkäinen" <pasik@iki.fi> wrote:

>On Sun, Dec 23, 2012 at 01:50:16AM +0800, gavin wrote:
>> Hi,
>>
>> I cannot find the vTPM config option CONFIG_XEN_TPMDEV_BACKEND in the
>> config file of pv-ops kernel, such as kernel 2.6.32.50. However, this
>> option exists in the config file of kernel version 2.6.18.8. I also cannot
>> find the vTPM backed driver (such as
>> linux-2.6.18-xen.hg/drivers/xen/tpmback ) in the pv-ops kernel.
>> So, how can I configure and use the vTPM backend driver in kernel 2.6.32?
>> Thank you for any advice.
>>
>
>I don't think vtpm drivers were ported to 2.6.32 pvops.
>Recently there has been work on porting the drivers to upstream Linux 3.x,
>but they aren't merged yet iirc.
>
>If you need to use them with 2.6.32 you need to port them yourself..
>
>-- Pasi
>
Re: How to use the vTPM backend driver in the pv-ops kernel [ In reply to ]
The frontend driver is currently being ported to the latest kernel. You can
find the patch cross listed here as well as the linux kernel mailing list.

I have no plans to port the backend driver. If you need it you'll have to get it from the 2.6.18
kernel and port it yourself.

________________________________________
From: xen-devel-bounces@lists.xen.org [xen-devel-bounces@lists.xen.org] On Behalf Of gavin [gbtux@126.com]
Sent: Sunday, December 23, 2012 8:04 AM
To: Pasi Kärkkäinen
Cc: xen-users@lists.xen.org; xen-devel@lists.xen.org
Subject: Re: [Xen-devel] How to use the vTPM backend driver in the pv-ops kernel

Hi Pasi,

Thank you very much for your information.

Best Regards,
Gavin

At 2012-12-23 06:04:08,"Pasi Kärkkäinen" <pasik@iki.fi> wrote:

>On Sun, Dec 23, 2012 at 01:50:16AM +0800, gavin wrote:
>> Hi,
>>
>> I cannot find the vTPM config option CONFIG_XEN_TPMDEV_BACKEND in the
>> config file of pv-ops kernel, such as kernel 2.6.32.50. However, this
>> option exists in the config file of kernel version 2.6.18.8. I also cannot
>> find the vTPM backed driver (such as
>> linux-2.6.18-xen.hg/drivers/xen/tpmback ) in the pv-ops kernel.
>> So, how can I configure and use the vTPM backend driver in kernel 2.6.32?
>> Thank you for any advice.
>>
>
>I don't think vtpm drivers were ported to 2.6.32 pvops.
>Recently there has been work on porting the drivers to upstream Linux 3.x,
>but they aren't merged yet iirc.
>
>If you need to use them with 2.6.32 you need to port them yourself..
>
>-- Pasi
>




_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
Re: How to use the vTPM backend driver in the pv-ops kernel [ In reply to ]
On Thu, Dec 27, 2012 at 10:27:33AM -0500, Fioravante, Matthew E. wrote:
> The frontend driver is currently being ported to the latest kernel. You can
> find the patch cross listed here as well as the linux kernel mailing list.
>
> I have no plans to port the backend driver. If you need it you'll have to get it from the 2.6.18
> kernel and port it yourself.
>

Hmm.. are you still using 2.6.18 kernel in dom0 yourself?

-- Pasi

> ________________________________________
> From: xen-devel-bounces@lists.xen.org [xen-devel-bounces@lists.xen.org] On Behalf Of gavin [gbtux@126.com]
> Sent: Sunday, December 23, 2012 8:04 AM
> To: Pasi Kärkkäinen
> Cc: xen-users@lists.xen.org; xen-devel@lists.xen.org
> Subject: Re: [Xen-devel] How to use the vTPM backend driver in the pv-ops kernel
>
> Hi Pasi,
>
> Thank you very much for your information.
>
> Best Regards,
> Gavin
>
> At 2012-12-23 06:04:08,"Pasi Kärkkäinen" <pasik@iki.fi> wrote:
>
> >On Sun, Dec 23, 2012 at 01:50:16AM +0800, gavin wrote:
> >> Hi,
> >>
> >> I cannot find the vTPM config option CONFIG_XEN_TPMDEV_BACKEND in the
> >> config file of pv-ops kernel, such as kernel 2.6.32.50. However, this
> >> option exists in the config file of kernel version 2.6.18.8. I also cannot
> >> find the vTPM backed driver (such as
> >> linux-2.6.18-xen.hg/drivers/xen/tpmback ) in the pv-ops kernel.
> >> So, how can I configure and use the vTPM backend driver in kernel 2.6.32?
> >> Thank you for any advice.
> >>
> >
> >I don't think vtpm drivers were ported to 2.6.32 pvops.
> >Recently there has been work on porting the drivers to upstream Linux 3.x,
> >but they aren't merged yet iirc.
> >
> >If you need to use them with 2.6.32 you need to port them yourself..
> >
> >-- Pasi
> >
>
>
>

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
Re: How to use the vTPM backend driver in the pv-ops kernel [ In reply to ]
No, the vtpm manager is implemented in mini-os and mini-os not has a driver for direct access to the physical tpm.
dom0 no longer takes any part of the vtpm communication paths.
________________________________________
From: Pasi Kärkkäinen [pasik@iki.fi]
Sent: Thursday, December 27, 2012 12:03 PM
To: Fioravante, Matthew E.
Cc: gavin; xen-users@lists.xen.org; xen-devel@lists.xen.org
Subject: Re: [Xen-devel] How to use the vTPM backend driver in the pv-ops kernel

On Thu, Dec 27, 2012 at 10:27:33AM -0500, Fioravante, Matthew E. wrote:
> The frontend driver is currently being ported to the latest kernel. You can
> find the patch cross listed here as well as the linux kernel mailing list.
>
> I have no plans to port the backend driver. If you need it you'll have to get it from the 2.6.18
> kernel and port it yourself.
>

Hmm.. are you still using 2.6.18 kernel in dom0 yourself?

-- Pasi

> ________________________________________
> From: xen-devel-bounces@lists.xen.org [xen-devel-bounces@lists.xen.org] On Behalf Of gavin [gbtux@126.com]
> Sent: Sunday, December 23, 2012 8:04 AM
> To: Pasi Kärkkäinen
> Cc: xen-users@lists.xen.org; xen-devel@lists.xen.org
> Subject: Re: [Xen-devel] How to use the vTPM backend driver in the pv-ops kernel
>
> Hi Pasi,
>
> Thank you very much for your information.
>
> Best Regards,
> Gavin
>
> At 2012-12-23 06:04:08,"Pasi Kärkkäinen" <pasik@iki.fi> wrote:
>
> >On Sun, Dec 23, 2012 at 01:50:16AM +0800, gavin wrote:
> >> Hi,
> >>
> >> I cannot find the vTPM config option CONFIG_XEN_TPMDEV_BACKEND in the
> >> config file of pv-ops kernel, such as kernel 2.6.32.50. However, this
> >> option exists in the config file of kernel version 2.6.18.8. I also cannot
> >> find the vTPM backed driver (such as
> >> linux-2.6.18-xen.hg/drivers/xen/tpmback ) in the pv-ops kernel.
> >> So, how can I configure and use the vTPM backend driver in kernel 2.6.32?
> >> Thank you for any advice.
> >>
> >
> >I don't think vtpm drivers were ported to 2.6.32 pvops.
> >Recently there has been work on porting the drivers to upstream Linux 3.x,
> >but they aren't merged yet iirc.
> >
> >If you need to use them with 2.6.32 you need to port them yourself..
> >
> >-- Pasi
> >
>
>
>

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
Re: How to use the vTPM backend driver in the pv-ops kernel [ In reply to ]
On Fri, Dec 28, 2012 at 09:47:22AM -0500, Fioravante, Matthew E. wrote:
> No, the vtpm manager is implemented in mini-os and mini-os not has a driver for direct access to the physical tpm.
> dom0 no longer takes any part of the vtpm communication paths.
>

Ok. that's nice. Thanks for the info :)

-- Pasi

> ________________________________________
> From: Pasi Kärkkäinen [pasik@iki.fi]
> Sent: Thursday, December 27, 2012 12:03 PM
> To: Fioravante, Matthew E.
> Cc: gavin; xen-users@lists.xen.org; xen-devel@lists.xen.org
> Subject: Re: [Xen-devel] How to use the vTPM backend driver in the pv-ops kernel
>
> On Thu, Dec 27, 2012 at 10:27:33AM -0500, Fioravante, Matthew E. wrote:
> > The frontend driver is currently being ported to the latest kernel. You can
> > find the patch cross listed here as well as the linux kernel mailing list.
> >
> > I have no plans to port the backend driver. If you need it you'll have to get it from the 2.6.18
> > kernel and port it yourself.
> >
>
> Hmm.. are you still using 2.6.18 kernel in dom0 yourself?
>
> -- Pasi
>
> > ________________________________________
> > From: xen-devel-bounces@lists.xen.org [xen-devel-bounces@lists.xen.org] On Behalf Of gavin [gbtux@126.com]
> > Sent: Sunday, December 23, 2012 8:04 AM
> > To: Pasi Kärkkäinen
> > Cc: xen-users@lists.xen.org; xen-devel@lists.xen.org
> > Subject: Re: [Xen-devel] How to use the vTPM backend driver in the pv-ops kernel
> >
> > Hi Pasi,
> >
> > Thank you very much for your information.
> >
> > Best Regards,
> > Gavin
> >
> > At 2012-12-23 06:04:08,"Pasi Kärkkäinen" <pasik@iki.fi> wrote:
> >
> > >On Sun, Dec 23, 2012 at 01:50:16AM +0800, gavin wrote:
> > >> Hi,
> > >>
> > >> I cannot find the vTPM config option CONFIG_XEN_TPMDEV_BACKEND in the
> > >> config file of pv-ops kernel, such as kernel 2.6.32.50. However, this
> > >> option exists in the config file of kernel version 2.6.18.8. I also cannot
> > >> find the vTPM backed driver (such as
> > >> linux-2.6.18-xen.hg/drivers/xen/tpmback ) in the pv-ops kernel.
> > >> So, how can I configure and use the vTPM backend driver in kernel 2.6.32?
> > >> Thank you for any advice.
> > >>
> > >
> > >I don't think vtpm drivers were ported to 2.6.32 pvops.
> > >Recently there has been work on porting the drivers to upstream Linux 3.x,
> > >but they aren't merged yet iirc.
> > >
> > >If you need to use them with 2.6.32 you need to port them yourself..
> > >
> > >-- Pasi
> > >
> >
> >
> >

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel