From: Stefan Berger Subject: [PATCH] [vTPM] Update on vTPM installation instructions Date: Wed, 19 Apr 2006 09:23:37 -0400 Message-ID: <1145453017.28124.2.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-GAD5T2Xrv0wM3oYlDVTc" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: katsuno@jp.ibm.com List-Id: xen-devel@lists.xenproject.org --=-GAD5T2Xrv0wM3oYlDVTc Content-Type: text/plain Content-Transfer-Encoding: 7bit This is an update on the vTPM installation instructions. Signed-off-by: stefanb@us.ibm.com --=-GAD5T2Xrv0wM3oYlDVTc Content-Disposition: attachment; filename=vtpm_docu.diff Content-Type: text/x-patch; name=vtpm_docu.diff; charset=UTF-8 Content-Transfer-Encoding: 7bit Index: xen/xen-unstable.hg/docs/misc/vtpm.txt =================================================================== --- xen.orig/xen-unstable.hg/docs/misc/vtpm.txt +++ xen/xen-unstable.hg/docs/misc/vtpm.txt @@ -17,13 +17,8 @@ Development Prerequisites: An emulator f Compiling XEN tree: ------------------- -Compile the XEN tree as usual. - -make uninstall; make mrproper; make install - -After compiling the tree, verify that in the linux-2.6.XX-xen0/.config -file at least the following entries are set as below (they should be set -by default): +Compile the XEN tree as usual after the following lines set in the +linux-2.6.??-xen/.config file: CONFIG_XEN_TPMDEV_BACKEND=y CONFIG_XEN_TPMDEV_GRANT=y @@ -32,18 +27,20 @@ CONFIG_TCG_TPM=m CONFIG_TCG_NSC=m CONFIG_TCG_ATMEL=m +You must also enable the virtual TPM to be built: -Verify that in the linux-2.6.XX-xenU/.config file at least the -Following entries are set as below (they should be set by default): +In Config.mk in the Xen root directory set the line -CONFIG_XEN_TPMDEV_FRONTEND=y -CONFIG_XEN_TPMDEV_GRANT=y +VTPM_TOOLS ?= y + +Now build the Xen sources from Xen's root directory: + +make install -CONFIG_TCG_TPM=y -CONFIG_TCG_XEN=y +Also build the initial RAM disk if necessary. -Reboot the machine with the created XEN-0 kernel. +Reboot the machine with the created Xen kernel. Note: If you do not want any TPM-related code compiled into your kernel or built as module then comment all the above lines like --=-GAD5T2Xrv0wM3oYlDVTc Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=-GAD5T2Xrv0wM3oYlDVTc--