From: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Subject: Re: How to use the vTPM backend driver in the pv-ops kernel Date: Sun, 23 Dec 2012 00:04:08 +0200 Message-ID: <20121222220407.GP8912@reaktio.net> References: <238048a.1c0.13bc3bc9be6.Coremail.gbtux@126.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <238048a.1c0.13bc3bc9be6.Coremail.gbtux@126.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: gavin Cc: xen-users@lists.xen.org, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org 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