From: Daniel De Graaf Subject: Re: [PATCH 09/12] vTPM/TPM2: Support '--tpm2' extra command line. Date: Mon, 15 Dec 2014 10:55:27 -0500 Message-ID: <548F046F.9030208@tycho.nsa.gov> References: <1418558993-13681-1-git-send-email-quan.xu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1418558993-13681-1-git-send-email-quan.xu@intel.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: Quan Xu , xen-devel@lists.xen.org Cc: samuel.thibault@ens-lyon.org, stefano.stabellini@eu.citrix.com List-Id: xen-devel@lists.xenproject.org On 12/14/2014 07:09 AM, Quan Xu wrote: > Make vtpm-stubdom domain compatible to launch on TPM 1.x / TPM 2.0. > Add: > .. > extra="--tpm2" > .. > to launch vtpm-stubdom domain on TPM 2.0, ignore it on TPM 1.x. for > example, > vtpm-stubdom domain configuration on TPM 2.0: > > kernel="/usr/lib/xen/boot/vtpmmgr-stubdom.gz" > memory=16 > disk=["file:/var/scale/vdisk/vmgr,hda,w"] > name="vtpmmgr" > iomem=["fed40,5"] > extra="--tpm2" > > vtpm-stubdom domain configuration on TPM 1.x: > > kernel="/usr/lib/xen/boot/vtpmmgr-stubdom.gz" > memory=16 > disk=["file:/var/scale/vdisk/vmgr,hda,w"] > name="vtpmmgr" > iomem=["fed40,5"] This would be useful to add to docs/misc/vtpmmgr.txt; it is difficult to find this documentation later if it is only present the commit message. Also, existing command line options are of the form "tpm2" or "tpm2=1" rather than "--tpm2"; it would be nice if new options remained consistent. -- Daniel De Graaf National Security Agency